Class: Nettica::Stubs::ServiceResult
- Inherits:
-
Object
- Object
- Nettica::Stubs::ServiceResult
- 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
-
#remainingCredits ⇒ Object
Returns the value of attribute remainingCredits.
-
#result ⇒ Object
Returns the value of attribute result.
-
#serviceRenewalDate ⇒ Object
Returns the value of attribute serviceRenewalDate.
-
#totalCredits ⇒ Object
Returns the value of attribute totalCredits.
Instance Method Summary collapse
-
#initialize(result = nil, remainingCredits = nil, totalCredits = nil, serviceRenewalDate = nil) ⇒ ServiceResult
constructor
A new instance of ServiceResult.
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
#remainingCredits ⇒ Object
Returns the value of attribute remainingCredits.
13 14 15 |
# File 'lib/nettica/stubs/nettica.rb', line 13 def remainingCredits @remainingCredits end |
#result ⇒ Object
Returns the value of attribute result.
12 13 14 |
# File 'lib/nettica/stubs/nettica.rb', line 12 def result @result end |
#serviceRenewalDate ⇒ Object
Returns the value of attribute serviceRenewalDate.
15 16 17 |
# File 'lib/nettica/stubs/nettica.rb', line 15 def serviceRenewalDate @serviceRenewalDate end |
#totalCredits ⇒ Object
Returns the value of attribute totalCredits.
14 15 16 |
# File 'lib/nettica/stubs/nettica.rb', line 14 def totalCredits @totalCredits end |