Class: OctocatNap::Api
- Inherits:
-
Object
- Object
- OctocatNap::Api
- Extended by:
- Weary
- Defined in:
- lib/octocatnap/api.rb
Instance Attribute Summary collapse
-
#credentials ⇒ Object
readonly
Returns the value of attribute credentials.
Instance Method Summary collapse
-
#initialize(credentials) ⇒ Api
constructor
A new instance of Api.
Constructor Details
#initialize(credentials) ⇒ Api
Returns a new instance of Api.
7 8 9 |
# File 'lib/octocatnap/api.rb', line 7 def initialize(credentials) @credentials = credentials end |
Instance Attribute Details
#credentials ⇒ Object (readonly)
Returns the value of attribute credentials.
5 6 7 |
# File 'lib/octocatnap/api.rb', line 5 def credentials @credentials end |