Module: GmanClient::CommodityMerchandising::BulkContracts

Included in:
Gman::Client
Defined in:
lib/gman_client/commodity_merchandising/bulk_contracts.rb

Instance Method Summary collapse

Instance Method Details

#bulk_contractsObject



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/gman_client/commodity_merchandising/bulk_contracts.rb', line 6

def bulk_contracts
  response = attempt(@retry_attempts) do
    request
      .api
      .v1
      .commodity_merchandising
      .bulk_contracts
      .get
  end

  response.map(&:to_h)
end