Class: CompaniesHouse::Configuration
- Inherits:
-
Object
- Object
- CompaniesHouse::Configuration
- Defined in:
- lib/companies_house/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
20 21 22 |
# File 'lib/companies_house/configuration.rb', line 20 def initialize @api_key = "example_api_key" end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
18 19 20 |
# File 'lib/companies_house/configuration.rb', line 18 def api_key @api_key end |