Class: CycloneLariat::Errors::ClientError

Inherits:
LunaPark::Errors::Business
  • Object
show all
Defined in:
lib/cyclone_lariat/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#details=(value) ⇒ Object (writeonly)

Sets the attribute details

Parameters:

  • value

    the value to set the attribute details to.



13
14
15
# File 'lib/cyclone_lariat/errors.rb', line 13

def details=(value)
  @details = value
end

#message=(value) ⇒ Object (writeonly)

Sets the attribute message

Parameters:

  • value

    the value to set the attribute message to.



13
14
15
# File 'lib/cyclone_lariat/errors.rb', line 13

def message=(value)
  @message = value
end

Instance Method Details

#==(other) ⇒ Object



15
16
17
18
19
# File 'lib/cyclone_lariat/errors.rb', line 15

def ==(other)
  other.is_a?(LunaPark::Errors::Business) &&
    other.message == message &&
    other.details == details
end