Class: Signupto::Action::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/signupto/action/base.rb

Direct Known Subclasses

Balance, Sender

Instance Method Summary collapse

Constructor Details

#initialize(account_hash, customer_number) ⇒ Base

Parent class that all specific actions are derived.



9
10
11
# File 'lib/signupto/action/base.rb', line 9

def initialize(, customer_number)
  @account = Signupto::Account.new(, customer_number)
end

Instance Method Details

#to_sObject



13
14
15
# File 'lib/signupto/action/base.rb', line 13

def to_s
  return @result.body
end