Class: Nettica::Stubs::ServiceResult

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

Overview

http://www.nettica.com/DNS/DnsApiServiceResult

result - Nettica::Stubs::DnsResult
remainingCredits - SOAP::SOAPInt
totalCredits - SOAP::SOAPInt
serviceRenewalDate - SOAP::SOAPDateTime

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result = nil, remainingCredits = nil, totalCredits = nil, serviceRenewalDate = nil) ⇒ ServiceResult

Returns a new instance of ServiceResult.



17
18
19
20
21
22
# File 'lib/nettica/stubs/nettica.rb', line 17

def initialize(result = nil, remainingCredits = nil, totalCredits = nil, serviceRenewalDate = nil)
  @result = result
  @remainingCredits = remainingCredits
  @totalCredits = totalCredits
  @serviceRenewalDate = serviceRenewalDate
end

Instance Attribute Details

#remainingCreditsObject

Returns the value of attribute remainingCredits.



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

def remainingCredits
  @remainingCredits
end

#resultObject

Returns the value of attribute result.



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

def result
  @result
end

#serviceRenewalDateObject

Returns the value of attribute serviceRenewalDate.



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

def serviceRenewalDate
  @serviceRenewalDate
end

#totalCreditsObject

Returns the value of attribute totalCredits.



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

def totalCredits
  @totalCredits
end