Module: Kapow::Credit

Defined in:
lib/kapow/credit.rb

Overview

Module to access the amount of available credit.

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.availableObject

Returns the value of attribute available.



9
10
11
# File 'lib/kapow/credit.rb', line 9

def available
  @available
end

Class Method Details

.to_sObject

Returns the available credit



13
14
15
# File 'lib/kapow/credit.rb', line 13

def to_s
  available.to_s
end