--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: member
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: To send structured types across the wire, derive from ActionWebService::Struct, and use <tt>member</tt> to declare structure members.
- !ruby/struct:SM::Flow::P 
  body: ActionWebService::Struct should be used in method signatures when you want to accept or return structured types that have no Active Record model class representations, or you don't want to expose your entire Active Record model to remote callers.
- !ruby/struct:SM::Flow::H 
  level: 3
  text: Example
- !ruby/struct:SM::Flow::VERB 
  body: "  class Person &lt; ActionWebService::Struct\n    member :id,         :int\n    member :firstnames, [:string]\n    member :lastname,   :string\n    member :email,      :string\n  end\n  person = Person.new(:id =&gt; 5, :firstname =&gt; 'john', :lastname =&gt; 'doe')\n"
- !ruby/struct:SM::Flow::P 
  body: Active Record model classes are already implicitly supported in method signatures.
constants: []

full_name: ActionWebService::Struct
includes: 
- !ruby/object:RI::IncludedModule 
  name: Reloadable::Subclasses
instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: "[]"
- !ruby/object:RI::MethodSummary 
  name: each_pair
name: Struct
superclass: Object
