Class: Acme::Client::Error::Subproblem
- Inherits:
-
Struct
- Object
- Struct
- Acme::Client::Error::Subproblem
- Defined in:
- lib/acme/client/error.rb
Instance Attribute Summary collapse
-
#detail ⇒ Object
Returns the value of attribute detail.
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#detail ⇒ Object
Returns the value of attribute detail
4 5 6 |
# File 'lib/acme/client/error.rb', line 4 def detail @detail end |
#identifier ⇒ Object
Returns the value of attribute identifier
4 5 6 |
# File 'lib/acme/client/error.rb', line 4 def identifier @identifier end |
#type ⇒ Object
Returns the value of attribute type
4 5 6 |
# File 'lib/acme/client/error.rb', line 4 def type @type end |
Instance Method Details
#to_h ⇒ Object
5 6 7 |
# File 'lib/acme/client/error.rb', line 5 def to_h { type: type, detail: detail, identifier: identifier } end |