Module: ATPAY

Defined in:
lib/atpay.rb,
lib/atpay/payment.rb

Defined Under Namespace

Classes: Payment

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.hostObject

Returns the value of attribute host.



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

def host
  @host
end

.passwordObject

Returns the value of attribute password.



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

def password
  @password
end

.usernameObject

Returns the value of attribute username.



4
5
6
# File 'lib/atpay.rb', line 4

def username
  @username
end

Class Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (ATPAY)

    the object that the method was called on



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

def self.configure(&block)
  yield(self)
end