Module: SoapObject::Factory

Defined in:
lib/soap-object/factory.rb

Instance Method Summary collapse

Instance Method Details

#using(cls, &block) ⇒ Object



5
6
7
8
9
# File 'lib/soap-object/factory.rb', line 5

def using(cls, &block)
  @the_service = find_service(cls)
  block.call @the_service if block
  @the_service
end