Sha256: 9290c2ed0b946c1ecf314df8370b1138ef24836015491937e792ad62ac13e9d2

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

module ExtendWarranties
  module Api
    class Base
      attr_reader :connection

      def initialize(connection)
        @connection = connection
      end

      protected

      def handle_response(response)
        # Wrap in our own response class
        ExtendWarranties::Response.new response
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
extend_warranties-0.1.0 lib/extend_warranties/api/base.rb