Class: OData::Operation

Inherits:
Object
  • Object
show all
Defined in:
lib/odata/operation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Operation


9
10
11
12
13
14
15
# File 'lib/odata/operation.rb', line 9

def initialize(options = {})
  @name            = options[:name]
  @entity_set_type = options[:entity_set_type]
  @binding_type    = options[:binding_type]
  @parameters      = options[:parameters]
  @return_type     = options[:return_type]
end

Instance Attribute Details

#binding_typeObject (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_typeObject (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

#nameObject (readonly)

Returns the value of attribute name


3
4
5
# File 'lib/odata/operation.rb', line 3

def name
  @name
end

#parametersObject (readonly)

Returns the value of attribute parameters


6
7
8
# File 'lib/odata/operation.rb', line 6

def parameters
  @parameters
end

#return_typeObject (readonly)

Returns the value of attribute return_type


7
8
9
# File 'lib/odata/operation.rb', line 7

def return_type
  @return_type
end