Class: FactoryOffshore

Inherits:
Object
  • Object
show all
Defined in:
lib/offshore/client/factory_offshore.rb

Class Method Summary collapse

Class Method Details

.create(*args) ⇒ Object

return the object



3
4
5
6
# File 'lib/offshore/client/factory_offshore.rb', line 3

def self.create(*args)
  host = Offshore.suite.default
  host.factory_create(*args)
end

.create_id(*args) ⇒ Object

return the id



9
10
11
12
# File 'lib/offshore/client/factory_offshore.rb', line 9

def self.create_id(*args)
  host = Offshore.suite.default
  host.factory_create_id(*args)
end