Class: DeliveryFivePostClient::Resources::API::V3::Partners

Inherits:
Object
  • Object
show all
Defined in:
lib/delivery_five_post_client/resources/api/v3/partners.rb,
lib/delivery_five_post_client/resources/api/v3/partners/orders.rb

Defined Under Namespace

Classes: Orders

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Partners

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Partners.

Parameters:



14
15
16
17
# File 'lib/delivery_five_post_client/resources/api/v3/partners.rb', line 14

def initialize(client:)
  @client = client
  @orders = DeliveryFivePostClient::Resources::API::V3::Partners::Orders.new(client: client)
end

Instance Attribute Details

#orders ⇒ DeliveryFivePostClient::Resources::API::V3::Partners::Orders (readonly)



9
10
11
# File 'lib/delivery_five_post_client/resources/api/v3/partners.rb', line 9

def orders
  @orders
end