Sha256: 564c311b6fa1b7a24de1f2f9d5c417d02ad48af4fdba0fb3b490ab820fe3a359

Contents?: true

Size: 381 Bytes

Versions: 1

Compression:

Stored size: 381 Bytes

Contents

module ShopifyAPI
  module Mock
    class Response
      class << self
        def register(method, resource, response)
          FakeWeb.register_uri(
            method, /#{SHOPIFY_MOCK_SHOP_BASE_URL}#{resource}/,
            :body => response
          )
        end
      end
    end
  end
end

require 'shopify-mock/responses/orders'
require 'shopify-mock/responses/articles'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shopify-mock-0.0.1 lib/shopify-mock/responses.rb