Sha256: 155ff1c35a20e69368763faea34dd86a7d6312221f9ac6fde49357819c35397b

Contents?: true

Size: 590 Bytes

Versions: 3

Compression:

Stored size: 590 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
    
    # Creates a new instance of the Operation class
    #
    # ==== Required Attributes
    # - kind: 				The operation type (Add, Update, or Delete)
    # - klass_name:		The name/type of the class to operate against
    # - klass:				The actual class
    def initialize(kind, klass_name, klass)
      @kind = kind
      @klass_name = klass_name
      @klass = klass
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_odata-0.0.10 lib/ruby_odata/operation.rb
ruby_odata-0.0.9 lib/ruby_odata/operation.rb
ruby_odata-0.0.8 lib/ruby_odata/operation.rb