Class: SocialNet::Byte::Api::Configuration
- Inherits:
-
Object
- Object
- SocialNet::Byte::Api::Configuration
- Defined in:
- lib/social_net/byte/api/configuration.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/social_net/byte/api/configuration.rb', line 7 def initialize @access_token = ENV['BYTE_ACCESS_TOKEN'] end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
5 6 7 |
# File 'lib/social_net/byte/api/configuration.rb', line 5 def access_token @access_token end |