Class: Glare::Credentials

Inherits:
Object
  • Object
show all
Defined in:
lib/glare/credentials.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(email, auth_key) ⇒ Credentials

Returns a new instance of Credentials.



3
4
5
6
# File 'lib/glare/credentials.rb', line 3

def initialize(email, auth_key)
  @email = email
  @auth_key = auth_key
end

Instance Attribute Details

#auth_keyObject (readonly)

Returns the value of attribute auth_key.



8
9
10
# File 'lib/glare/credentials.rb', line 8

def auth_key
  @auth_key
end

#emailObject (readonly)

Returns the value of attribute email.



8
9
10
# File 'lib/glare/credentials.rb', line 8

def email
  @email
end