Dariusch/plenty_client

View on GitHub
lib/plenty_client/basket.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module PlentyClient
  module Basket
    include PlentyClient::Endpoint
    include PlentyClient::Request

    FIND_BASKET = '/basket'

    class << self
      def find(headers = {}, &block)
        get(build_endpoint(FIND_BASKET), headers, &block)
      end
    end
  end
end