Class: AgileTrello::TrelloCredentials
- Inherits:
-
Object
- Object
- AgileTrello::TrelloCredentials
- Defined in:
- lib/TrelloCredentials.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
readonly
Returns the value of attribute access_token.
-
#public_key ⇒ Object
readonly
Returns the value of attribute public_key.
Instance Method Summary collapse
-
#initialize(public_key, access_token) ⇒ TrelloCredentials
constructor
A new instance of TrelloCredentials.
Constructor Details
#initialize(public_key, access_token) ⇒ TrelloCredentials
Returns a new instance of TrelloCredentials.
5 6 7 8 |
# File 'lib/TrelloCredentials.rb', line 5 def initialize(public_key, access_token) @public_key = public_key @access_token = access_token end |
Instance Attribute Details
#access_token ⇒ Object (readonly)
Returns the value of attribute access_token.
3 4 5 |
# File 'lib/TrelloCredentials.rb', line 3 def access_token @access_token end |
#public_key ⇒ Object (readonly)
Returns the value of attribute public_key.
3 4 5 |
# File 'lib/TrelloCredentials.rb', line 3 def public_key @public_key end |