Class: MagentoTwo::Configuration
- Inherits:
-
Object
- Object
- MagentoTwo::Configuration
- Defined in:
- lib/MagentoTwo/configuration.rb
Defined Under Namespace
Classes: Error
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
Initialize every configuration with a default.
Constructor Details
#initialize ⇒ Configuration
Initialize every configuration with a default. Users of the gem will override these with their desired values
10 11 12 13 |
# File 'lib/MagentoTwo/configuration.rb', line 10 def initialize @host = nil @token = nil end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
5 6 7 |
# File 'lib/MagentoTwo/configuration.rb', line 5 def host @host end |
#token ⇒ Object
Returns the value of attribute token.
5 6 7 |
# File 'lib/MagentoTwo/configuration.rb', line 5 def token @token end |