Class: Oca::BaseClient

Inherits:
Object
  • Object
show all
Defined in:
lib/oca-epak/base_client.rb

Direct Known Subclasses

Epak::Client, Oep::Client

Constant Summary collapse

BASE_WSDL_URL =
"http://webservice.oca.com.ar".freeze
FALSE_STRING =
"false".freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username, password) ⇒ BaseClient

Returns a new instance of BaseClient.



9
10
11
12
# File 'lib/oca-epak/base_client.rb', line 9

def initialize(username, password)
  @username = username
  @password = password
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



3
4
5
# File 'lib/oca-epak/base_client.rb', line 3

def client
  @client
end

#passwordObject

Returns the value of attribute password.



4
5
6
# File 'lib/oca-epak/base_client.rb', line 4

def password
  @password
end

#usernameObject

Returns the value of attribute username.



4
5
6
# File 'lib/oca-epak/base_client.rb', line 4

def username
  @username
end