class Rudder::Analytics::Response

Attributes

error[R]
status[R]

Public Class Methods

new(status = 200, error = nil) click to toggle source

public: Simple class to wrap responses from the API

# File lib/rudder/analytics/response.rb, line 9
def initialize(status = 200, error = nil)
  @status = status
  @error  = error
end