Sha256: a402c46d007de0d4e285f2e73d37a98bfda8daecf4a18cdb89cb890b4c3e4dfb

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

module MuffinMan
  module Authorization
    class V1 < SpApiClient
      def get_authorization_code(selling_partner_id, developer_id, mws_auth_token)
        @query_params = {
          "sellingPartnerId" => selling_partner_id,
          "developerId" => developer_id,
          "mwsAuthToken" => mws_auth_token
        }
        @query_params = {} if sandbox
        @request_type = "GET"
        @local_var_path = "/authorization/v1/authorizationCode"
        call_api
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
muffin_man-1.2.0 lib/muffin_man/authorization/v1.rb