Class: Acme::Client::Error::Subproblem

Inherits:
Struct
  • Object
show all
Defined in:
lib/acme/client/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#detailObject

Returns the value of attribute detail

Returns:

  • (Object)

    the current value of detail



6
7
8
# File 'lib/acme/client/error.rb', line 6

def detail
  @detail
end

#identifierObject

Returns the value of attribute identifier

Returns:

  • (Object)

    the current value of identifier



6
7
8
# File 'lib/acme/client/error.rb', line 6

def identifier
  @identifier
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



6
7
8
# File 'lib/acme/client/error.rb', line 6

def type
  @type
end

Instance Method Details

#to_hObject



7
8
9
# File 'lib/acme/client/error.rb', line 7

def to_h
  { type: type, detail: detail, identifier: identifier }
end