class PusherPlatform::ErrorResponse

Attributes

description[RW]
headers[RW]
status[RW]

Public Class Methods

new(status, headers, description) click to toggle source
# File lib/pusher-platform/error_response.rb, line 5
def initialize(status, headers, description)
  @status = status
  @headers = headers
  @description = description
end

Public Instance Methods

to_s() click to toggle source
# File lib/pusher-platform/error_response.rb, line 11
def to_s
  "Pusher::ErrorResponse: #{status} #{description}"
end