class Aloe::AccountConfiguration

Attributes

allow_negative_balance[W]

Public Class Methods

new(attrs = {}) click to toggle source
# File lib/aloe/account_configuration.rb, line 6
def initialize(attrs = {})
  attrs.each do |k ,v|
    public_send :"#{k}=", v
  end
end

Public Instance Methods

allow_negative_balance() click to toggle source

Does the account allow negative balance? Defaults to true if no values is provided

@return [true, false]

# File lib/aloe/account_configuration.rb, line 16
def allow_negative_balance
  @allow_negative_balance == false ? false : true
end