Class: EShipper::Client

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/eshipper/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeClient

Returns a new instance of Client.



10
11
12
# File 'lib/eshipper/client.rb', line 10

def initialize
  @url = "https://web.eshipper.com/rpc2"
end

Instance Attribute Details

#passwordObject

Returns the value of attribute password.



8
9
10
# File 'lib/eshipper/client.rb', line 8

def password
  @password
end

#urlObject (readonly)

Returns the value of attribute url.



7
8
9
# File 'lib/eshipper/client.rb', line 7

def url
  @url
end

#usernameObject

Returns the value of attribute username.



8
9
10
# File 'lib/eshipper/client.rb', line 8

def username
  @username
end