Class: Flowthings::Drop

Inherits:
PlatformObjectInterface show all
Includes:
Crud::Aggregate, Crud::ExtendedMethods, Crud::Find, Crud::MemberUpdate
Defined in:
lib/flowthings/platform_objects/drop.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Crud::Aggregate

#aggregate

Methods included from Crud::MemberUpdate

#member_update

Methods included from Crud::Find

#find

Methods included from Crud::ExtendedMethods

#delete_all, #find_many

Methods included from Crud::Base

#create, #destroy, #read, #update

Constructor Details

#initialize(flowId, connection, options = {}) ⇒ Drop

Returns a new instance of Drop.



17
18
19
20
21
22
23
24
25
# File 'lib/flowthings/platform_objects/drop.rb', line 17

def initialize(flowId, connection, options={})
  if flowId.kind_of? Array
    @flowIds = flowId
  else
    @flowId = flowId
  end

  super connection, options
end

Instance Attribute Details

#flowIdObject

Returns the value of attribute flowId.



15
16
17
# File 'lib/flowthings/platform_objects/drop.rb', line 15

def flowId
  @flowId
end