class HelpScout::ErrorEnvelope

Error Envelope

Attributes

message[R]
status[R]

Public Class Methods

new(object) click to toggle source

Creates a new ErrorEnvelope object from a Hash of attributes

# File lib/helpscout/models.rb, line 47
def initialize(object)
  @status = object["status"]
  @message = object["message"]
end