class Activite::Response

A Response is used to represent an empty API response with a status code and no additional information.

Attributes

status[R]

@return [Integer]

Public Class Methods

new(attrs = {}) click to toggle source
# File lib/activite/response.rb, line 9
def initialize(attrs = {})
  @status = attrs['status'].to_i if attrs.has_key? 'status'
end