Module: Deliveree

Defined in:
lib/deliveree_client/version.rb,
lib/deliveree_sdk.rb,
lib/deliveree_client/api_error.rb,
lib/deliveree_client/api_client.rb,
lib/deliveree_client/models/quote.rb,
lib/deliveree_client/configuration.rb,
lib/deliveree_client/models/delivery.rb,
lib/deliveree_client/models/location.rb,
lib/deliveree_client/api/deliveree_api.rb,
lib/deliveree_client/models/response_default.rb,
lib/deliveree_client/models/position_tracking.rb,
lib/deliveree_client/models/response_get_quote.rb,
lib/deliveree_client/models/response_with_data.rb

Overview

#Deliveree SDK #With Deliveree API, developers can integrate our on-demand local delivery platform into their applications. The API is designed for developers to check prices, book an immediate or scheduled delivery and follow updates until delivery completion. Contact: [email protected]

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, DelivereeApi, Delivery, Location, PositionTracking, Quote, ResponseDefault, ResponseGetQuote, ResponseWithData

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

Deliveree.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



33
34
35
36
37
38
39
# File 'lib/deliveree_sdk.rb', line 33

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end