Class: NgrokAPI::Models::ReservedDomainCertJob
- Inherits:
-
Object
- Object
- NgrokAPI::Models::ReservedDomainCertJob
- Defined in:
- lib/ngrokapi/models/reserved_domain_cert_job.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
-
#retries_at ⇒ Object
readonly
Returns the value of attribute retries_at.
-
#started_at ⇒ Object
readonly
Returns the value of attribute started_at.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(client:, result:) ⇒ ReservedDomainCertJob
constructor
A new instance of ReservedDomainCertJob.
- #to_s ⇒ Object
Constructor Details
#initialize(client:, result:) ⇒ ReservedDomainCertJob
Returns a new instance of ReservedDomainCertJob.
13 14 15 16 17 18 19 20 |
# File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 13 def initialize(client:, result:) @client = client @result = result @error_code = @result['error_code'] @msg = @result['msg'] @started_at = @result['started_at'] @retries_at = @result['retries_at'] end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
6 7 8 |
# File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 6 def client @client end |
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
6 7 8 |
# File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 6 def error_code @error_code end |
#msg ⇒ Object (readonly)
Returns the value of attribute msg.
6 7 8 |
# File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 6 def msg @msg end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
6 7 8 |
# File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 6 def result @result end |
#retries_at ⇒ Object (readonly)
Returns the value of attribute retries_at.
6 7 8 |
# File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 6 def retries_at @retries_at end |
#started_at ⇒ Object (readonly)
Returns the value of attribute started_at.
6 7 8 |
# File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 6 def started_at @started_at end |
Instance Method Details
#==(other) ⇒ Object
22 23 24 |
# File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 22 def ==(other) @result == other.result end |
#to_s ⇒ Object
26 27 28 |
# File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 26 def to_s @result.to_s end |