Class: HumanError::Configuration
- Inherits:
-
Object
- Object
- HumanError::Configuration
- Defined in:
- lib/human_error/configuration.rb
Instance Attribute Summary collapse
-
#api_error_documentation_url ⇒ Object
Returns the value of attribute api_error_documentation_url.
-
#api_version ⇒ Object
Returns the value of attribute api_version.
-
#knowledgebase_url ⇒ Object
Returns the value of attribute knowledgebase_url.
Instance Method Summary collapse
Instance Attribute Details
#api_error_documentation_url ⇒ Object
Returns the value of attribute api_error_documentation_url.
3 4 5 |
# File 'lib/human_error/configuration.rb', line 3 def api_error_documentation_url @api_error_documentation_url end |
#api_version ⇒ Object
Returns the value of attribute api_version.
3 4 5 |
# File 'lib/human_error/configuration.rb', line 3 def api_version @api_version end |
#knowledgebase_url ⇒ Object
Returns the value of attribute knowledgebase_url.
3 4 5 |
# File 'lib/human_error/configuration.rb', line 3 def knowledgebase_url @knowledgebase_url end |
Instance Method Details
#to_h ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/human_error/configuration.rb', line 7 def to_h { knowledgebase_url: knowledgebase_url, api_error_documentation_url: api_error_documentation_url, api_version: api_version, } end |