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