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



4
5
6
# File 'lib/acme/client/error.rb', line 4

def detail
  @detail
end

#identifierObject

Returns the value of attribute identifier

Returns:

  • (Object)

    the current value of identifier



4
5
6
# File 'lib/acme/client/error.rb', line 4

def identifier
  @identifier
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



4
5
6
# File 'lib/acme/client/error.rb', line 4

def type
  @type
end

Instance Method Details

#to_hObject



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

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