Class: Io::Flow::V0::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/flow_commerce/flow_api_v0_client.rb

Defined Under Namespace

Modules: Constants

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url, opts = {}) ⇒ Client

Returns a new instance of Client.



36
37
38
39
40
41
42
43
44
45
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 36

def initialize(url, opts={})
  @url = HttpClient::Preconditions.assert_class('url', url, String)
  @base_url = URI(url)
  @authorization = HttpClient::Preconditions.assert_class_or_nil('authorization', opts.delete(:authorization), HttpClient::Authorization)
  @default_headers = HttpClient::Preconditions.assert_class('default_headers', opts.delete(:default_headers) || {}, Hash)
  @http_handler = opts.delete(:http_handler) || HttpClient::DefaultHttpHandler.new

  HttpClient::Preconditions.assert_empty_opts(opts)
  HttpClient::Preconditions.check_state(url.match(/http.+/i), "URL[%s] must start with http" % url)
end

Instance Attribute Details

#urlObject (readonly)

Returns the value of attribute url.



34
35
36
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 34

def url
  @url
end

Class Method Details

.at_base_url(opts = {}) ⇒ Object

Creates an instance of the client using the base url specified in the API spec.



48
49
50
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 48

def Client.at_base_url(opts={})
  Client.new(Constants::BASE_URL, opts)
end

Instance Method Details

#addressesObject



347
348
349
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 347

def addresses
  @addresses ||= ::Io::Flow::V0::Clients::Addresses.new(self)
end

#allocationsObject



67
68
69
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 67

def allocations
  @allocations ||= ::Io::Flow::V0::Clients::Allocations.new(self)
end

#attributesObject



71
72
73
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 71

def attributes
  @attributes ||= ::Io::Flow::V0::Clients::Attributes.new(self)
end

#authorizationsObject



219
220
221
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 219

def authorizations
  @authorizations ||= ::Io::Flow::V0::Clients::Authorizations.new(self)
end

#capturesObject



223
224
225
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 223

def captures
  @captures ||= ::Io::Flow::V0::Clients::Captures.new(self)
end

#cardsObject



227
228
229
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 227

def cards
  @cards ||= ::Io::Flow::V0::Clients::Cards.new(self)
end

#catalogsObject



75
76
77
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 75

def catalogs
  @catalogs ||= ::Io::Flow::V0::Clients::Catalogs.new(self)
end

#centersObject



263
264
265
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 263

def centers
  @centers ||= ::Io::Flow::V0::Clients::Centers.new(self)
end

#checkout_attributesObject



79
80
81
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 79

def checkout_attributes
  @checkout_attributes ||= ::Io::Flow::V0::Clients::CheckoutAttributes.new(self)
end

#checkout_item_contentsObject



83
84
85
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 83

def checkout_item_contents
  @checkout_item_contents ||= ::Io::Flow::V0::Clients::CheckoutItemContents.new(self)
end

#checkout_tokensObject



387
388
389
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 387

def checkout_tokens
  @checkout_tokens ||= ::Io::Flow::V0::Clients::CheckoutTokens.new(self)
end

#consumer_invoice_documentsObject



395
396
397
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 395

def consumer_invoice_documents
  @consumer_invoice_documents ||= ::Io::Flow::V0::Clients::ConsumerInvoiceDocuments.new(self)
end

#consumer_invoicesObject



391
392
393
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 391

def consumer_invoices
  @consumer_invoices ||= ::Io::Flow::V0::Clients::ConsumerInvoices.new(self)
end

#countriesObject



359
360
361
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 359

def countries
  @countries ||= ::Io::Flow::V0::Clients::Countries.new(self)
end

#country_defaultsObject



351
352
353
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 351

def country_defaults
  @country_defaults ||= ::Io::Flow::V0::Clients::CountryDefaults.new(self)
end

#credit_paymentsObject



87
88
89
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 87

def credit_payments
  @credit_payments ||= ::Io::Flow::V0::Clients::CreditPayments.new(self)
end

#currenciesObject



363
364
365
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 363

def currencies
  @currencies ||= ::Io::Flow::V0::Clients::Currencies.new(self)
end

#delivery_windowsObject



267
268
269
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 267

def delivery_windows
  @delivery_windows ||= ::Io::Flow::V0::Clients::DeliveryWindows.new(self)
end

#documentsObject



399
400
401
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 399

def documents
  @documents ||= ::Io::Flow::V0::Clients::Documents.new(self)
end

#email_verificationsObject



403
404
405
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 403

def email_verifications
  @email_verifications ||= ::Io::Flow::V0::Clients::EmailVerifications.new(self)
end

#experience_defaultsObject



95
96
97
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 95

def experience_defaults
  @experience_defaults ||= ::Io::Flow::V0::Clients::ExperienceDefaults.new(self)
end

#experience_logistics_settingsObject



99
100
101
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 99

def experience_logistics_settings
  @experience_logistics_settings ||= ::Io::Flow::V0::Clients::ExperienceLogisticsSettings.new(self)
end

#experiencesObject



91
92
93
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 91

def experiences
  @experiences ||= ::Io::Flow::V0::Clients::Experiences.new(self)
end

#exportsObject



407
408
409
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 407

def exports
  @exports ||= ::Io::Flow::V0::Clients::Exports.new(self)
end

#feedsObject



411
412
413
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 411

def feeds
  @feeds ||= ::Io::Flow::V0::Clients::Feeds.new(self)
end

#flow_rolesObject



415
416
417
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 415

def flow_roles
  @flow_roles ||= ::Io::Flow::V0::Clients::FlowRoles.new(self)
end

#fulfillmentsObject



419
420
421
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 419

def fulfillments
  @fulfillments ||= ::Io::Flow::V0::Clients::Fulfillments.new(self)
end

#gateway_authentication_dataObject



231
232
233
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 231

def gateway_authentication_data
  @gateway_authentication_data ||= ::Io::Flow::V0::Clients::GatewayAuthenticationData.new(self)
end

#harmonization_settingsObject



179
180
181
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 179

def harmonization_settings
  @harmonization_settings ||= ::Io::Flow::V0::Clients::HarmonizationSettings.new(self)
end

#harmonized_categoriesObject



183
184
185
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 183

def harmonized_categories
  @harmonized_categories ||= ::Io::Flow::V0::Clients::HarmonizedCategories.new(self)
end

#harmonized_item_dutiesObject



191
192
193
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 191

def harmonized_item_duties
  @harmonized_item_duties ||= ::Io::Flow::V0::Clients::HarmonizedItemDuties.new(self)
end

#harmonized_itemsObject



187
188
189
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 187

def harmonized_items
  @harmonized_items ||= ::Io::Flow::V0::Clients::HarmonizedItems.new(self)
end

#harmonized_landed_costsObject



195
196
197
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 195

def harmonized_landed_costs
  @harmonized_landed_costs ||= ::Io::Flow::V0::Clients::HarmonizedLandedCosts.new(self)
end

#healthchecksObject



423
424
425
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 423

def healthchecks
  @healthchecks ||= ::Io::Flow::V0::Clients::Healthchecks.new(self)
end

#hs10Object



199
200
201
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 199

def hs10
  @hs10 ||= ::Io::Flow::V0::Clients::Hs10.new(self)
end

#hs6Object



203
204
205
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 203

def hs6
  @hs6 ||= ::Io::Flow::V0::Clients::Hs6.new(self)
end

#hs_codesObject



207
208
209
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 207

def hs_codes
  @hs_codes ||= ::Io::Flow::V0::Clients::HsCodes.new(self)
end

#import_templatesObject



431
432
433
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 431

def import_templates
  @import_templates ||= ::Io::Flow::V0::Clients::ImportTemplates.new(self)
end

#importsObject



427
428
429
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 427

def imports
  @imports ||= ::Io::Flow::V0::Clients::Imports.new(self)
end

#inventory_rulesObject



271
272
273
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 271

def inventory_rules
  @inventory_rules ||= ::Io::Flow::V0::Clients::InventoryRules.new(self)
end

#inventory_snapshotsObject



275
276
277
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 275

def inventory_snapshots
  @inventory_snapshots ||= ::Io::Flow::V0::Clients::InventorySnapshots.new(self)
end

#inventory_updatesObject



279
280
281
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 279

def inventory_updates
  @inventory_updates ||= ::Io::Flow::V0::Clients::InventoryUpdates.new(self)
end

#invitationsObject



435
436
437
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 435

def invitations
  @invitations ||= ::Io::Flow::V0::Clients::Invitations.new(self)
end

#item_functionsObject



167
168
169
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 167

def item_functions
  @item_functions ||= ::Io::Flow::V0::Clients::ItemFunctions.new(self)
end

#item_query_suggestionsObject



439
440
441
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 439

def item_query_suggestions
  @item_query_suggestions ||= ::Io::Flow::V0::Clients::ItemQuerySuggestions.new(self)
end

#itemsObject



103
104
105
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 103

def items
  @items ||= ::Io::Flow::V0::Clients::Items.new(self)
end

#languagesObject



367
368
369
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 367

def languages
  @languages ||= ::Io::Flow::V0::Clients::Languages.new(self)
end


443
444
445
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 443

def links
  @links ||= ::Io::Flow::V0::Clients::Links.new(self)
end

#localesObject



371
372
373
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 371

def locales
  @locales ||= ::Io::Flow::V0::Clients::Locales.new(self)
end

#manifestsObject



283
284
285
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 283

def manifests
  @manifests ||= ::Io::Flow::V0::Clients::Manifests.new(self)
end

#membershipsObject



447
448
449
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 447

def memberships
  @memberships ||= ::Io::Flow::V0::Clients::Memberships.new(self)
end

#order_buildersObject



111
112
113
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 111

def order_builders
  @order_builders ||= ::Io::Flow::V0::Clients::OrderBuilders.new(self)
end

#order_estimatesObject



115
116
117
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 115

def order_estimates
  @order_estimates ||= ::Io::Flow::V0::Clients::OrderEstimates.new(self)
end

#order_identifiersObject



119
120
121
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 119

def order_identifiers
  @order_identifiers ||= ::Io::Flow::V0::Clients::OrderIdentifiers.new(self)
end

#order_number_generatorsObject



123
124
125
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 123

def order_number_generators
  @order_number_generators ||= ::Io::Flow::V0::Clients::OrderNumberGenerators.new(self)
end

#order_promotionsObject



127
128
129
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 127

def order_promotions
  @order_promotions ||= ::Io::Flow::V0::Clients::OrderPromotions.new(self)
end

#ordersObject



107
108
109
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 107

def orders
  @orders ||= ::Io::Flow::V0::Clients::Orders.new(self)
end

#organization_authorizationsObject



451
452
453
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 451

def organization_authorizations
  @organization_authorizations ||= ::Io::Flow::V0::Clients::OrganizationAuthorizations.new(self)
end

#organization_currency_settingsObject



171
172
173
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 171

def organization_currency_settings
  @organization_currency_settings ||= ::Io::Flow::V0::Clients::OrganizationCurrencySettings.new(self)
end

#organization_tokensObject



455
456
457
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 455

def organization_tokens
  @organization_tokens ||= ::Io::Flow::V0::Clients::OrganizationTokens.new(self)
end

#organizationsObject



131
132
133
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 131

def organizations
  @organizations ||= ::Io::Flow::V0::Clients::Organizations.new(self)
end

#partner_tokensObject



459
460
461
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 459

def partner_tokens
  @partner_tokens ||= ::Io::Flow::V0::Clients::PartnerTokens.new(self)
end

#password_reset_formsObject



463
464
465
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 463

def password_reset_forms
  @password_reset_forms ||= ::Io::Flow::V0::Clients::PasswordResetForms.new(self)
end

#payment_method_rulesObject



135
136
137
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 135

def payment_method_rules
  @payment_method_rules ||= ::Io::Flow::V0::Clients::PaymentMethodRules.new(self)
end

#payment_methodsObject



375
376
377
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 375

def payment_methods
  @payment_methods ||= ::Io::Flow::V0::Clients::PaymentMethods.new(self)
end

#paymentsObject



235
236
237
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 235

def payments
  @payments ||= ::Io::Flow::V0::Clients::Payments.new(self)
end

#permission_checksObject



467
468
469
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 467

def permission_checks
  @permission_checks ||= ::Io::Flow::V0::Clients::PermissionChecks.new(self)
end

#price_book_itemsObject



143
144
145
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 143

def price_book_items
  @price_book_items ||= ::Io::Flow::V0::Clients::PriceBookItems.new(self)
end

#price_booksObject



139
140
141
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 139

def price_books
  @price_books ||= ::Io::Flow::V0::Clients::PriceBooks.new(self)
end

#provincesObject



379
380
381
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 379

def provinces
  @provinces ||= ::Io::Flow::V0::Clients::Provinces.new(self)
end

#public_keysObject



239
240
241
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 239

def public_keys
  @public_keys ||= ::Io::Flow::V0::Clients::PublicKeys.new(self)
end

#quotesObject



287
288
289
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 287

def quotes
  @quotes ||= ::Io::Flow::V0::Clients::Quotes.new(self)
end

#ratesObject



175
176
177
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 175

def rates
  @rates ||= ::Io::Flow::V0::Clients::Rates.new(self)
end

#refundsObject



243
244
245
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 243

def refunds
  @refunds ||= ::Io::Flow::V0::Clients::Refunds.new(self)
end

#regionsObject



383
384
385
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 383

def regions
  @regions ||= ::Io::Flow::V0::Clients::Regions.new(self)
end

#request(path = nil) ⇒ Object



52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 52

def request(path=nil)
  HttpClient::Preconditions.assert_class_or_nil('path', path, String)
  request = HttpClient::Request.new(@http_handler, @base_url, path.to_s).with_header('User-Agent', Constants::USER_AGENT).with_header('X-Apidoc-Version', Constants::VERSION).with_header('X-Apidoc-Version-Major', Constants::VERSION_MAJOR)

  @default_headers.each do |key, value|
    request = request.with_header(key, value)
  end

  if @authorization
    request = request.with_auth(@authorization)
  end

  request
end

#returnsObject



291
292
293
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 291

def returns
  @returns ||= ::Io::Flow::V0::Clients::Returns.new(self)
end

#reversalsObject



247
248
249
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 247

def reversals
  @reversals ||= ::Io::Flow::V0::Clients::Reversals.new(self)
end

#scheduled_exportsObject



471
472
473
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 471

def scheduled_exports
  @scheduled_exports ||= ::Io::Flow::V0::Clients::ScheduledExports.new(self)
end

#serialsObject



295
296
297
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 295

def serials
  @serials ||= ::Io::Flow::V0::Clients::Serials.new(self)
end

#session_authorizationsObject



479
480
481
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 479

def session_authorizations
  @session_authorizations ||= ::Io::Flow::V0::Clients::SessionAuthorizations.new(self)
end

#sessionsObject



475
476
477
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 475

def sessions
  @sessions ||= ::Io::Flow::V0::Clients::Sessions.new(self)
end

#shipping_configuration_copiesObject



303
304
305
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 303

def shipping_configuration_copies
  @shipping_configuration_copies ||= ::Io::Flow::V0::Clients::ShippingConfigurationCopies.new(self)
end

#shipping_configurationsObject



299
300
301
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 299

def shipping_configurations
  @shipping_configurations ||= ::Io::Flow::V0::Clients::ShippingConfigurations.new(self)
end

#shipping_labelsObject



307
308
309
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 307

def shipping_labels
  @shipping_labels ||= ::Io::Flow::V0::Clients::ShippingLabels.new(self)
end

#shipping_notificationsObject



311
312
313
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 311

def shipping_notifications
  @shipping_notifications ||= ::Io::Flow::V0::Clients::ShippingNotifications.new(self)
end

#shopify_cartsObject



483
484
485
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 483

def shopify_carts
  @shopify_carts ||= ::Io::Flow::V0::Clients::ShopifyCarts.new(self)
end

#shopify_private_appsObject



487
488
489
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 487

def shopify_private_apps
  @shopify_private_apps ||= ::Io::Flow::V0::Clients::ShopifyPrivateApps.new(self)
end

#subcatalog_itemsObject



151
152
153
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 151

def subcatalog_items
  @subcatalog_items ||= ::Io::Flow::V0::Clients::SubcatalogItems.new(self)
end

#subcatalog_queriesObject



155
156
157
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 155

def subcatalog_queries
  @subcatalog_queries ||= ::Io::Flow::V0::Clients::SubcatalogQueries.new(self)
end

#subcatalogsObject



147
148
149
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 147

def subcatalogs
  @subcatalogs ||= ::Io::Flow::V0::Clients::Subcatalogs.new(self)
end

#suggestionsObject



491
492
493
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 491

def suggestions
  @suggestions ||= ::Io::Flow::V0::Clients::Suggestions.new(self)
end

#targeting_itemsObject



163
164
165
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 163

def targeting_items
  @targeting_items ||= ::Io::Flow::V0::Clients::TargetingItems.new(self)
end

#targetingsObject



159
160
161
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 159

def targetings
  @targetings ||= ::Io::Flow::V0::Clients::Targetings.new(self)
end

#tariff_codesObject



211
212
213
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 211

def tariff_codes
  @tariff_codes ||= ::Io::Flow::V0::Clients::TariffCodes.new(self)
end

#tax_registrationsObject



215
216
217
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 215

def tax_registrations
  @tax_registrations ||= ::Io::Flow::V0::Clients::TaxRegistrations.new(self)
end

#tier_rulesObject



319
320
321
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 319

def tier_rules
  @tier_rules ||= ::Io::Flow::V0::Clients::TierRules.new(self)
end

#tiersObject



315
316
317
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 315

def tiers
  @tiers ||= ::Io::Flow::V0::Clients::Tiers.new(self)
end

#timezonesObject



355
356
357
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 355

def timezones
  @timezones ||= ::Io::Flow::V0::Clients::Timezones.new(self)
end

#token_validationsObject



499
500
501
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 499

def token_validations
  @token_validations ||= ::Io::Flow::V0::Clients::TokenValidations.new(self)
end

#tokensObject



495
496
497
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 495

def tokens
  @tokens ||= ::Io::Flow::V0::Clients::Tokens.new(self)
end

#tracking_eventsObject



327
328
329
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 327

def tracking_events
  @tracking_events ||= ::Io::Flow::V0::Clients::TrackingEvents.new(self)
end

#tracking_labelsObject



331
332
333
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 331

def tracking_labels
  @tracking_labels ||= ::Io::Flow::V0::Clients::TrackingLabels.new(self)
end

#trackingsObject



323
324
325
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 323

def trackings
  @trackings ||= ::Io::Flow::V0::Clients::Trackings.new(self)
end

#uploadsObject



503
504
505
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 503

def uploads
  @uploads ||= ::Io::Flow::V0::Clients::Uploads.new(self)
end

#usersObject



507
508
509
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 507

def users
  @users ||= ::Io::Flow::V0::Clients::Users.new(self)
end

#virtual_card_capturesObject



255
256
257
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 255

def virtual_card_captures
  @virtual_card_captures ||= ::Io::Flow::V0::Clients::VirtualCardCaptures.new(self)
end

#virtual_card_refundsObject



259
260
261
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 259

def virtual_card_refunds
  @virtual_card_refunds ||= ::Io::Flow::V0::Clients::VirtualCardRefunds.new(self)
end

#virtual_cardsObject



251
252
253
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 251

def virtual_cards
  @virtual_cards ||= ::Io::Flow::V0::Clients::VirtualCards.new(self)
end

#webhook_deliveriesObject



339
340
341
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 339

def webhook_deliveries
  @webhook_deliveries ||= ::Io::Flow::V0::Clients::WebhookDeliveries.new(self)
end

#webhook_settingsObject



343
344
345
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 343

def webhook_settings
  @webhook_settings ||= ::Io::Flow::V0::Clients::WebhookSettings.new(self)
end

#webhooksObject



335
336
337
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 335

def webhooks
  @webhooks ||= ::Io::Flow::V0::Clients::Webhooks.new(self)
end