Class: Levelup::Endpoints::UserOrders

Inherits:
Base
  • Object
show all
Defined in:
lib/levelup/endpoints/user_orders.rb

Overview

The endpoint holding all functions related to orders for a specified user.

Instance Method Summary collapse

Instance Method Details

#list(user_access_token) ⇒ Object



5
6
7
8
# File 'lib/levelup/endpoints/user_orders.rb', line 5

def list(user_access_token)
  Requests::ListUserOrders.new(user_access_token: user_access_token).
    send_to_api(:get, endpoint_path)
end