Sha256: e501437d62b01060177532c506505c3aaedaf7ec247abce2f1f8c31327a50b0c

Contents?: true

Size: 276 Bytes

Versions: 5

Compression:

Stored size: 276 Bytes

Contents

module Brightpearl
  class Resource

    def self.send_request(path:, method: :get, **options)
      Brightpearl::Client.send_request(path: path, method: method, **options)
    end

    def self.to_query(query_params)
      URI.encode_www_form(query_params)
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-brightpearl-0.4.0 lib/brightpearl/resource.rb
ruby-brightpearl-0.3.0 lib/brightpearl/resource.rb
ruby-brightpearl-0.2.0 lib/brightpearl/resource.rb
ruby-brightpearl-0.1.01 lib/brightpearl/resource.rb
ruby-brightpearl-0.1.0 lib/brightpearl/resource.rb