Class: Xpost::Configuration
- Inherits:
-
Object
- Object
- Xpost::Configuration
- Defined in:
- lib/xpost/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#production_url ⇒ Object
Returns the value of attribute production_url.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
-
#staging_url ⇒ Object
Returns the value of attribute staging_url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
5 6 7 8 9 10 |
# File 'lib/xpost/configuration.rb', line 5 def initialize @api_key @secret_key @staging_url @production_url end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/xpost/configuration.rb', line 3 def api_key @api_key end |
#production_url ⇒ Object
Returns the value of attribute production_url.
3 4 5 |
# File 'lib/xpost/configuration.rb', line 3 def production_url @production_url end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
3 4 5 |
# File 'lib/xpost/configuration.rb', line 3 def secret_key @secret_key end |
#staging_url ⇒ Object
Returns the value of attribute staging_url.
3 4 5 |
# File 'lib/xpost/configuration.rb', line 3 def staging_url @staging_url end |