Class: Glare::Credentials
- Inherits:
-
Object
- Object
- Glare::Credentials
- Defined in:
- lib/glare/credentials.rb
Instance Attribute Summary collapse
-
#auth_key ⇒ Object
readonly
Returns the value of attribute auth_key.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
Instance Method Summary collapse
-
#initialize(email, auth_key) ⇒ Credentials
constructor
A new instance of Credentials.
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_key ⇒ Object (readonly)
Returns the value of attribute auth_key.
8 9 10 |
# File 'lib/glare/credentials.rb', line 8 def auth_key @auth_key end |
#email ⇒ Object (readonly)
Returns the value of attribute email.
8 9 10 |
# File 'lib/glare/credentials.rb', line 8 def email @email end |