Class: MagentoTwo::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/MagentoTwo/configuration.rb

Defined Under Namespace

Classes: Error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#hostObject

Returns the value of attribute host.



5
6
7
# File 'lib/MagentoTwo/configuration.rb', line 5

def host
  @host
end

#tokenObject

Returns the value of attribute token.



5
6
7
# File 'lib/MagentoTwo/configuration.rb', line 5

def token
  @token
end