Class: ResoTransport::EntitySet
- Inherits:
-
Struct
- Object
- Struct
- ResoTransport::EntitySet
- Defined in:
- lib/reso_transport/entity_set.rb
Instance Attribute Summary collapse
-
#entity_type ⇒ Object
Returns the value of attribute entity_type.
-
#name ⇒ Object
Returns the value of attribute name.
-
#schema ⇒ Object
Returns the value of attribute schema.
Class Method Summary collapse
Instance Attribute Details
#entity_type ⇒ Object
Returns the value of attribute entity_type
2 3 4 |
# File 'lib/reso_transport/entity_set.rb', line 2 def entity_type @entity_type end |
#name ⇒ Object
Returns the value of attribute name
2 3 4 |
# File 'lib/reso_transport/entity_set.rb', line 2 def name @name end |
#schema ⇒ Object
Returns the value of attribute schema
2 3 4 |
# File 'lib/reso_transport/entity_set.rb', line 2 def schema @schema end |
Class Method Details
.from_stream(args) ⇒ Object
4 5 6 7 8 |
# File 'lib/reso_transport/entity_set.rb', line 4 def self.from_stream(args) schema, entity_type = ResoTransport.split_schema_and_class_name(args["EntityType"]) new(args["Name"], schema, entity_type) end |