Module: Sisecommerce

Defined in:
lib/sisecommerce.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_tokenObject

Returns the value of attribute api_token.



11
12
13
# File 'lib/sisecommerce.rb', line 11

def api_token
  @api_token
end

.store_nameObject

Returns the value of attribute store_name.



11
12
13
# File 'lib/sisecommerce.rb', line 11

def store_name
  @store_name
end

Class Method Details

.base_uriObject



16
17
18
# File 'lib/sisecommerce.rb', line 16

def self.base_uri
  "http://#{store_name}.#{@endpoint}"
end