Method: Pcloud::Client#initialize

Defined in:
lib/pcloud/client.rb

#initialize(options = {}) ⇒ Client

Returns a new instance of Client.



11
12
13
14
# File 'lib/pcloud/client.rb', line 11

def initialize(options = {})
  @username, @password = options.values_at(:username, :password)
  @auth_token = options[:auth_token]
end