Class: EShipper::Client
- Inherits:
-
Object
- Object
- EShipper::Client
- Includes:
- Singleton
- Defined in:
- lib/eshipper/client.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize ⇒ Client
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
#password ⇒ Object
Returns the value of attribute password.
8 9 10 |
# File 'lib/eshipper/client.rb', line 8 def password @password end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
7 8 9 |
# File 'lib/eshipper/client.rb', line 7 def url @url end |
#username ⇒ Object
Returns the value of attribute username.
8 9 10 |
# File 'lib/eshipper/client.rb', line 8 def username @username end |