class ExtendWarranties::Api::Base
Attributes
connection[R]
Public Class Methods
new(connection)
click to toggle source
# File lib/extend_warranties/api/base.rb, line 6 def initialize(connection) @connection = connection end
Protected Instance Methods
handle_response(response)
click to toggle source
# File lib/extend_warranties/api/base.rb, line 12 def handle_response(response) # Wrap in our own response class ExtendWarranties::Response.new response end