Class: Distelli::Credentials

Inherits:
Object
  • Object
show all
Defined in:
lib/distelli/clientframework.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key_id, secret_key) ⇒ Credentials

Returns a new instance of Credentials.



29
30
31
32
# File 'lib/distelli/clientframework.rb', line 29

def initialize(key_id, secret_key)
  @key_id = key_id
  @secret_key = secret_key
end

Instance Attribute Details

#key_idObject

Returns the value of attribute key_id.



28
29
30
# File 'lib/distelli/clientframework.rb', line 28

def key_id
  @key_id
end

#secret_keyObject

Returns the value of attribute secret_key.



28
29
30
# File 'lib/distelli/clientframework.rb', line 28

def secret_key
  @secret_key
end