Class: CompaniesHouseInputGateway::Client
- Inherits:
-
Object
- Object
- CompaniesHouseInputGateway::Client
- Defined in:
- lib/companies_house_input_gateway/client.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config = nil) ⇒ Client
constructor
A new instance of Client.
- #perform_check(*args) ⇒ Object
Constructor Details
#initialize(config = nil) ⇒ Client
Returns a new instance of Client.
5 6 7 |
# File 'lib/companies_house_input_gateway/client.rb', line 5 def initialize(config = nil) @config = (config || CompaniesHouseInputGateway.config).clone end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
14 15 16 |
# File 'lib/companies_house_input_gateway/client.rb', line 14 def config @config end |