Class: Progresso::Client
- Inherits:
-
Object
- Object
- Progresso::Client
- Defined in:
- lib/progresso/client.rb
Instance Method Summary collapse
-
#initialize(subdomain, username, password) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(subdomain, username, password) ⇒ Client
Returns a new instance of Client.
9 10 11 12 13 |
# File 'lib/progresso/client.rb', line 9 def initialize(subdomain, username, password) @url = "https://#{subdomain}.progresso.net/v2" @username = username @password = URI.encode(password) end |