Class: OData::Operation
- Inherits:
-
Object
- Object
- OData::Operation
- Defined in:
- lib/odata/operation.rb
Instance Attribute Summary collapse
-
#binding_type ⇒ Object
readonly
Returns the value of attribute binding_type.
-
#entity_set_type ⇒ Object
readonly
Returns the value of attribute entity_set_type.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#parameters ⇒ Object
readonly
Returns the value of attribute parameters.
-
#return_type ⇒ Object
readonly
Returns the value of attribute return_type.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Operation
constructor
A new instance of Operation.
Constructor Details
#initialize(options = {}) ⇒ Operation
Returns a new instance of Operation.
9 10 11 12 13 14 15 |
# File 'lib/odata/operation.rb', line 9 def initialize( = {}) @name = [:name] @entity_set_type = [:entity_set_type] @binding_type = [:binding_type] @parameters = [:parameters] @return_type = [:return_type] end |
Instance Attribute Details
#binding_type ⇒ Object (readonly)
Returns the value of attribute binding_type.
4 5 6 |
# File 'lib/odata/operation.rb', line 4 def binding_type @binding_type end |
#entity_set_type ⇒ Object (readonly)
Returns the value of attribute entity_set_type.
5 6 7 |
# File 'lib/odata/operation.rb', line 5 def entity_set_type @entity_set_type end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/odata/operation.rb', line 3 def name @name end |
#parameters ⇒ Object (readonly)
Returns the value of attribute parameters.
6 7 8 |
# File 'lib/odata/operation.rb', line 6 def parameters @parameters end |
#return_type ⇒ Object (readonly)
Returns the value of attribute return_type.
7 8 9 |
# File 'lib/odata/operation.rb', line 7 def return_type @return_type end |