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.



7
8
9
# File 'lib/kapow/credit.rb', line 7

def available
  @available
end

Class Method Details

.to_sObject

Returns the available credit



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

def to_s
  available.to_s
end