class Chatkit::UploadError

Attributes

message[RW]
response_object[RW]

Public Class Methods

new(error) click to toggle source
# File lib/chatkit/upload_error.rb, line 7
def initialize(error)
  @message = error[:message]
  @response_object = error[:response_object]
end

Public Instance Methods

to_s() click to toggle source
# File lib/chatkit/upload_error.rb, line 12
def to_s
  "Chatkit::MissingParameterError - #{@message}"
end