Module: Ulpos

Defined in:
lib/ulpos.rb,
lib/ulpos/client.rb,
lib/ulpos/version.rb

Defined Under Namespace

Classes: Client

Constant Summary collapse

VERSION =
"0.0.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.app_keyObject

Returns the value of attribute app_key.



3
4
5
# File 'lib/ulpos.rb', line 3

def app_key
  @app_key
end

.app_secretObject

Returns the value of attribute app_secret.



3
4
5
# File 'lib/ulpos.rb', line 3

def app_secret
  @app_secret
end

.endpointObject

Returns the value of attribute endpoint.



3
4
5
# File 'lib/ulpos.rb', line 3

def endpoint
  @endpoint
end

Class Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Ulpos)

    the object that the method was called on



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

def configure
  yield self
  true
end