Class: Platforms::Yammer::Configuration
- Inherits:
-
Object
- Object
- Platforms::Yammer::Configuration
- Includes:
- ActiveSupport::Configurable
- Defined in:
- lib/platforms/yammer/configuration.rb
Overview
The class which stores the gem’s configuration Should only store Yammer configuration options, other configuration options should be made in core.
Instance Method Summary collapse
-
#api_base ⇒ String
The base Yammer URL for API requests.
-
#client_id ⇒ String
The default client_id, if no saved Certificate exists.
-
#client_secret ⇒ String
The default client_secret, if no saved Certificate exists.
Instance Method Details
#api_base ⇒ String
The base Yammer URL for API requests. Defaults to www.yammer.com/api/v1
65 66 67 |
# File 'lib/platforms/yammer/configuration.rb', line 65 config_accessor(:api_base, instance_reader: false) do 'https://www.yammer.com/api/v1' end |
#client_id ⇒ String
The default client_id, if no saved Certificate exists. A saved Certificate will be used in preference to this default.
35 |
# File 'lib/platforms/yammer/configuration.rb', line 35 config_accessor(:client_id, instance_reader: false) |
#client_secret ⇒ String
The default client_secret, if no saved Certificate exists. A saved Certificate will be used in preference to this default.
50 |
# File 'lib/platforms/yammer/configuration.rb', line 50 config_accessor(:client_secret, instance_reader: false) |