Class: Seam::Resources::Phone::Errors

Inherits:
BaseResource show all
Defined in:
lib/seam/resources/phone.rb

Instance Attribute Summary collapse

Attributes inherited from BaseResource

#client, #data

Instance Method Summary collapse

Methods inherited from BaseResource

#[], date_accessor, #initialize, #inspect, load_from_response, resource_accessor, resource_accessors, resource_list_accessor, resource_list_accessors, #update_from_response

Constructor Details

This class inherits a constructor from Seam::Resources::BaseResource

Instance Attribute Details

#error_codeString

Unique identifier of the type of error.

Returns:

  • (String)


10
11
12
# File 'lib/seam/resources/phone.rb', line 10

def error_code
  @error_code
end

#messageString

Detailed description of the error.

Returns:

  • (String)


13
14
15
# File 'lib/seam/resources/phone.rb', line 13

def message
  @message
end

Instance Method Details

#created_atTime

Date and time at which Seam created the error.

Returns:

  • (Time)


16
# File 'lib/seam/resources/phone.rb', line 16

date_accessor :created_at