Class: Bone::API::Redis::Token
- Inherits:
-
Object
- Object
- Bone::API::Redis::Token
- Includes:
- Familia
- Defined in:
- lib/bone/api.rb
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(token) ⇒ Token
constructor
A new instance of Token.
Constructor Details
#initialize(token) ⇒ Token
Returns a new instance of Token.
388 389 390 391 |
# File 'lib/bone/api.rb', line 388 def initialize(token) @token = token.to_s initialize_redis_objects end |
Instance Attribute Details
#token ⇒ Object (readonly)
Returns the value of attribute token.
387 388 389 |
# File 'lib/bone/api.rb', line 387 def token @token end |