Class: Jemquarie::Base

Inherits:
Object
  • Object
show all
Includes:
Parser::Generic
Defined in:
lib/jemquarie/base.rb

Direct Known Subclasses

AccountDetails, Balance, Expiry, Importer

Instance Method Summary collapse

Methods included from Parser::Generic

#generic_request_response

Constructor Details

#initialize(username, password) ⇒ Base

Returns a new instance of Base.



10
11
12
13
14
15
16
17
18
# File 'lib/jemquarie/base.rb', line 10

def initialize(username, password)
  @username = username
  @password = password
  @client = ::Savon.client do
    endpoint  Jemquarie::BASE_URI
    wsdl      File.expand_path("../extract.wsdl", __FILE__)
    log_level Jemquarie.log_level
  end
end