class OData::Operation
Internally used helper class for storing operations called against the service. This class shouldn't be used directly.
Attributes
child_klass[RW]
kind[RW]
klass[RW]
klass_name[RW]
Public Class Methods
new(kind, klass_name, klass, child_klass = nil)
click to toggle source
Creates a new instance of the Operation
class
@param [String] kind the operation type (Standard: Add, Update, or Delete | Links: AddLink) @param [String] klass_name
the name/type of the class to operate against @param [Object] klass the actual class @param [Object, nil] child_klass
used for link operations only
# 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