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
9
# File 'lib/levelup/endpoints/user_orders.rb', line 5

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