Module: Noths
- Defined in:
- lib/noths.rb,
lib/noths/version.rb,
lib/noths/api_error.rb,
lib/noths/api_client.rb,
lib/noths/models/item.rb,
lib/noths/models/link.rb,
lib/noths/models/user.rb,
lib/noths/models/error.rb,
lib/noths/models/money.rb,
lib/noths/models/order.rb,
lib/noths/configuration.rb,
lib/noths/api/orders_api.rb,
lib/noths/models/enquiry.rb,
lib/noths/models/product.rb,
lib/noths/api/refunds_api.rb,
lib/noths/models/currency.rb,
lib/noths/models/image_url.rb,
lib/noths/models/financials.rb,
lib/noths/models/order_index.rb,
lib/noths/models/order_detail.rb,
lib/noths/models/order_refund.rb,
lib/noths/models/delivery_zone.rb,
lib/noths/models/manual_payment.rb,
lib/noths/models/product_option.rb,
lib/noths/models/enquiry_message.rb,
lib/noths/models/item_financials.rb,
lib/noths/models/refund_response.rb,
lib/noths/models/delivery_address.rb,
lib/noths/models/delivery_service.rb,
lib/noths/models/decline_bulk_model.rb,
lib/noths/models/financials_details.rb,
lib/noths/models/search_result_meta.rb,
lib/noths/models/dispatch_bulk_model.rb,
lib/noths/models/acceptance_bulk_model.rb,
lib/noths/models/order_details_bulk_model.rb,
lib/noths/models/dispatch_notes_bulk_model.rb
Defined Under Namespace
Classes: AcceptanceBulkModel, ApiClient, ApiError, Configuration, Currency, DeclineBulkModel, DeliveryAddress, DeliveryService, DeliveryZone, DispatchBulkModel, DispatchNotesBulkModel, Enquiry, EnquiryMessage, Error, Financials, FinancialsDetails, ImageUrl, Item, ItemFinancials, Link, ManualPayment, Money, Order, OrderDetail, OrderDetailsBulkModel, OrderIndex, OrderRefund, OrdersApi, Product, ProductOption, RefundResponse, RefundsApi, SearchResultMeta, User
Constant Summary collapse
- VERSION =
"0.2.1"
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
Noths.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
52 53 54 55 56 57 58 |
# File 'lib/noths.rb', line 52 def configure if block_given? yield(Configuration.default) else Configuration.default end end |