Class: OData::Operation
- Inherits:
-
Object
- Object
- OData::Operation
- Defined in:
- lib/ruby_odata/operation.rb
Overview
Internally used helper class for storing operations called against the service. This class shouldn't be used directly.
Instance Attribute Summary collapse
-
#child_klass ⇒ Object
Returns the value of attribute child_klass.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#klass ⇒ Object
Returns the value of attribute klass.
-
#klass_name ⇒ Object
Returns the value of attribute klass_name.
Instance Method Summary collapse
-
#initialize(kind, klass_name, klass, child_klass = nil) ⇒ Operation
constructor
Creates a new instance of the Operation class.
Constructor Details
#initialize(kind, klass_name, klass, child_klass = nil) ⇒ Operation
Creates a new instance of the Operation class
12 13 14 15 16 17 |
# File 'lib/ruby_odata/operation.rb', line 12 def initialize(kind, klass_name, klass, child_klass = nil) @kind = kind @klass_name = klass_name @klass = klass @child_klass = child_klass end |
Instance Attribute Details
#child_klass ⇒ Object
Returns the value of attribute child_klass.
4 5 6 |
# File 'lib/ruby_odata/operation.rb', line 4 def child_klass @child_klass end |
#kind ⇒ Object
Returns the value of attribute kind.
4 5 6 |
# File 'lib/ruby_odata/operation.rb', line 4 def kind @kind end |
#klass ⇒ Object
Returns the value of attribute klass.
4 5 6 |
# File 'lib/ruby_odata/operation.rb', line 4 def klass @klass end |
#klass_name ⇒ Object
Returns the value of attribute klass_name.
4 5 6 |
# File 'lib/ruby_odata/operation.rb', line 4 def klass_name @klass_name end |