Class: RubyStackoverflow::Configuration
- Inherits:
-
Object
- Object
- RubyStackoverflow::Configuration
- Defined in:
- lib/ruby-stackoverflow/configuration.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#api_url ⇒ Object
Returns the value of attribute api_url.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_key ⇒ Object
Returns the value of attribute client_key.
-
#client_sceret ⇒ Object
Returns the value of attribute client_sceret.
Class Method Summary collapse
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
4 5 6 |
# File 'lib/ruby-stackoverflow/configuration.rb', line 4 def access_token @access_token end |
#api_url ⇒ Object
Returns the value of attribute api_url.
4 5 6 |
# File 'lib/ruby-stackoverflow/configuration.rb', line 4 def api_url @api_url end |
#client_id ⇒ Object
Returns the value of attribute client_id.
4 5 6 |
# File 'lib/ruby-stackoverflow/configuration.rb', line 4 def client_id @client_id end |
#client_key ⇒ Object
Returns the value of attribute client_key.
4 5 6 |
# File 'lib/ruby-stackoverflow/configuration.rb', line 4 def client_key @client_key end |
#client_sceret ⇒ Object
Returns the value of attribute client_sceret.
4 5 6 |
# File 'lib/ruby-stackoverflow/configuration.rb', line 4 def client_sceret @client_sceret end |
Class Method Details
.api_url ⇒ Object
6 7 8 |
# File 'lib/ruby-stackoverflow/configuration.rb', line 6 def self.api_url 'https://api.stackexchange.com/2.2/' end |