class Recurly::Request
This class represents a request to Recurly
. It’s used to validate requests data as well as cast and serialize the request data to JSON.
Attributes
Public Class Methods
Source
# File lib/recurly/request.rb, line 23 def initialize(attributes = {}) @attributes = self.class.cast_request(attributes) end
Public Instance Methods
Source
# File lib/recurly/request.rb, line 13 def ==(other_resource) self.attributes == other_resource.attributes end