Sha256: e86f669777f977206f66de2b8382c559a17505f42acb18f0e2b2b9c440b6a8e1
Contents?: true
Size: 755 Bytes
Versions: 1
Compression:
Stored size: 755 Bytes
Contents
module OData # Internally used helper class for storing operations called against the service. This class shouldn't be used directly. class Operation attr_accessor :kind, :klass_name, :klass, :child_klass # Creates a new instance of the Operation class # # ==== Required Attributes # - kind: The operation type (Standard: Add, Update, or Delete | Links: AddLink) # - klass_name: The name/type of the class to operate against # - klass: The actual class # - child_klass: (Optional) Only used for link operations def initialize(kind, klass_name, klass, child_klass = nil) @kind = kind @klass_name = klass_name @klass = klass @child_klass = child_klass end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_odata-0.1.0 | lib/ruby_odata/operation.rb |