Class: KickboxRails::Configuration
- Inherits:
-
Object
- Object
- KickboxRails::Configuration
- Defined in:
- lib/kickbox_rails.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_resource ⇒ Object
Returns the value of attribute api_resource.
-
#api_url ⇒ Object
Returns the value of attribute api_url.
-
#treat_unknown_as_valid ⇒ Object
Returns the value of attribute treat_unknown_as_valid.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
69 70 71 72 73 74 |
# File 'lib/kickbox_rails.rb', line 69 def initialize @api_key = nil @api_url = nil @api_resource = nil @treat_unknown_as_valid = false end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
67 68 69 |
# File 'lib/kickbox_rails.rb', line 67 def api_key @api_key end |
#api_resource ⇒ Object
Returns the value of attribute api_resource.
67 68 69 |
# File 'lib/kickbox_rails.rb', line 67 def api_resource @api_resource end |
#api_url ⇒ Object
Returns the value of attribute api_url.
67 68 69 |
# File 'lib/kickbox_rails.rb', line 67 def api_url @api_url end |
#treat_unknown_as_valid ⇒ Object
Returns the value of attribute treat_unknown_as_valid.
67 68 69 |
# File 'lib/kickbox_rails.rb', line 67 def treat_unknown_as_valid @treat_unknown_as_valid end |