Class: PennyTelAccount

Inherits:
Object
  • Object
show all
Defined in:
lib/default.rb

Overview

http://pennytel.comPennyTelAccount

balance - SOAP::SOAPFloat
blocked - SOAP::SOAPBoolean
currency - SOAP::SOAPString
lastUsageDate - SOAP::SOAPDateTime
others - SOAP::SOAPString
zeroBalanceDate - SOAP::SOAPDateTime

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(balance = nil, blocked = nil, currency = nil, lastUsageDate = nil, others = nil, zeroBalanceDate = nil) ⇒ PennyTelAccount

Returns a new instance of PennyTelAccount.



18
19
20
21
22
23
24
25
# File 'lib/default.rb', line 18

def initialize(balance = nil, blocked = nil, currency = nil, lastUsageDate = nil, others = nil, zeroBalanceDate = nil)
  @balance = balance
  @blocked = blocked
  @currency = currency
  @lastUsageDate = lastUsageDate
  @others = others
  @zeroBalanceDate = zeroBalanceDate
end

Instance Attribute Details

#balanceObject

Returns the value of attribute balance.



11
12
13
# File 'lib/default.rb', line 11

def balance
  @balance
end

#blockedObject

Returns the value of attribute blocked.



12
13
14
# File 'lib/default.rb', line 12

def blocked
  @blocked
end

#currencyObject

Returns the value of attribute currency.



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

def currency
  @currency
end

#lastUsageDateObject

Returns the value of attribute lastUsageDate.



14
15
16
# File 'lib/default.rb', line 14

def lastUsageDate
  @lastUsageDate
end

#othersObject

Returns the value of attribute others.



15
16
17
# File 'lib/default.rb', line 15

def others
  @others
end

#zeroBalanceDateObject

Returns the value of attribute zeroBalanceDate.



16
17
18
# File 'lib/default.rb', line 16

def zeroBalanceDate
  @zeroBalanceDate
end