Module: Magento

Defined in:
lib/magus.rb,
lib/magus/version.rb

Constant Summary collapse

VERSION =
"0.0.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



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

def api_key
  @api_key
end

.endpointObject

Returns the value of attribute endpoint.



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

def endpoint
  @endpoint
end

.usernameObject

Returns the value of attribute username.



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

def username
  @username
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Magento)

    the object that the method was called on



8
9
10
# File 'lib/magus.rb', line 8

def self.configure
  yield self if block_given?
end