Class: PreventGo::Configuration
- Inherits:
-
Object
- Object
- PreventGo::Configuration
- Defined in:
- lib/prevent_go/configuration.rb
Instance Attribute Summary collapse
-
#api_root_url ⇒ Object
Returns the value of attribute api_root_url.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
-
#site_key ⇒ Object
Returns the value of attribute site_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 |
# File 'lib/prevent_go/configuration.rb', line 5 def initialize @site_key = nil @secret_key = nil @api_root_url = nil end |
Instance Attribute Details
#api_root_url ⇒ Object
Returns the value of attribute api_root_url.
3 4 5 |
# File 'lib/prevent_go/configuration.rb', line 3 def api_root_url @api_root_url end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
3 4 5 |
# File 'lib/prevent_go/configuration.rb', line 3 def secret_key @secret_key end |
#site_key ⇒ Object
Returns the value of attribute site_key.
3 4 5 |
# File 'lib/prevent_go/configuration.rb', line 3 def site_key @site_key end |