Module: DigitalFemsa
- Defined in:
- lib/digital_femsa/version.rb,
lib/digital_femsa.rb,
lib/digital_femsa/api_error.rb,
lib/digital_femsa/api_client.rb,
lib/digital_femsa/models/page.rb,
lib/digital_femsa/api/logs_api.rb,
lib/digital_femsa/models/error.rb,
lib/digital_femsa/api/taxes_api.rb,
lib/digital_femsa/configuration.rb,
lib/digital_femsa/api/events_api.rb,
lib/digital_femsa/api/orders_api.rb,
lib/digital_femsa/models/details.rb,
lib/digital_femsa/models/product.rb,
lib/digital_femsa/api/charges_api.rb,
lib/digital_femsa/models/checkout.rb,
lib/digital_femsa/models/customer.rb,
lib/digital_femsa/api/api_keys_api.rb,
lib/digital_femsa/api/balances_api.rb,
lib/digital_femsa/api/products_api.rb,
lib/digital_femsa/api/webhooks_api.rb,
lib/digital_femsa/api/companies_api.rb,
lib/digital_femsa/api/customers_api.rb,
lib/digital_femsa/api/discounts_api.rb,
lib/digital_femsa/api/shippings_api.rb,
lib/digital_femsa/api/transfers_api.rb,
lib/digital_femsa/models/pagination.rb,
lib/digital_femsa/models/webhook_log.rb,
lib/digital_femsa/models/log_response.rb,
lib/digital_femsa/api/payment_link_api.rb,
lib/digital_femsa/api/transactions_api.rb,
lib/digital_femsa/api/webhook_keys_api.rb,
lib/digital_femsa/models/customer_info.rb,
lib/digital_femsa/models/details_error.rb,
lib/digital_femsa/models/logs_response.rb,
lib/digital_femsa/models/order_request.rb,
lib/digital_femsa/models/charge_request.rb,
lib/digital_femsa/models/event_response.rb,
lib/digital_femsa/models/order_response.rb,
lib/digital_femsa/models/payment_method.rb,
lib/digital_femsa/models/update_product.rb,
lib/digital_femsa/models/api_key_request.rb,
lib/digital_femsa/models/charge_response.rb,
lib/digital_femsa/models/orders_response.rb,
lib/digital_femsa/models/update_customer.rb,
lib/digital_femsa/models/webhook_request.rb,
lib/digital_femsa/api/payment_methods_api.rb,
lib/digital_femsa/models/api_key_response.rb,
lib/digital_femsa/models/balance_response.rb,
lib/digital_femsa/models/checkout_request.rb,
lib/digital_femsa/models/company_response.rb,
lib/digital_femsa/models/customer_address.rb,
lib/digital_femsa/models/shipping_request.rb,
lib/digital_femsa/models/webhook_response.rb,
lib/digital_femsa/models/checkout_response.rb,
lib/digital_femsa/models/customer_response.rb,
lib/digital_femsa/models/order_tax_request.rb,
lib/digital_femsa/models/transfer_response.rb,
lib/digital_femsa/api/shipping_contacts_api.rb,
lib/digital_femsa/models/checkouts_response.rb,
lib/digital_femsa/models/customers_response.rb,
lib/digital_femsa/models/logs_response_data.rb,
lib/digital_femsa/models/transfers_response.rb,
lib/digital_femsa/models/get_events_response.rb,
lib/digital_femsa/models/get_orders_response.rb,
lib/digital_femsa/models/payment_method_cash.rb,
lib/digital_femsa/models/webhook_key_request.rb,
lib/digital_femsa/models/balance_common_field.rb,
lib/digital_femsa/models/get_charges_response.rb,
lib/digital_femsa/models/order_refund_request.rb,
lib/digital_femsa/models/order_update_request.rb,
lib/digital_femsa/models/sms_checkout_request.rb,
lib/digital_femsa/models/transaction_response.rb,
lib/digital_femsa/models/webhook_key_response.rb,
lib/digital_femsa/models/charge_order_response.rb,
lib/digital_femsa/models/charge_update_request.rb,
lib/digital_femsa/models/charges_data_response.rb,
lib/digital_femsa/models/fiscal_entity_address.rb,
lib/digital_femsa/models/get_api_keys_response.rb,
lib/digital_femsa/models/get_webhooks_response.rb,
lib/digital_femsa/models/order_capture_request.rb,
lib/digital_femsa/models/product_data_response.rb,
lib/digital_femsa/models/api_key_update_request.rb,
lib/digital_femsa/models/email_checkout_request.rb,
lib/digital_femsa/models/events_resend_response.rb,
lib/digital_femsa/models/get_companies_response.rb,
lib/digital_femsa/models/get_transfers_response.rb,
lib/digital_femsa/models/order_response_charges.rb,
lib/digital_femsa/models/product_order_response.rb,
lib/digital_femsa/models/update_payment_methods.rb,
lib/digital_femsa/models/webhook_update_request.rb,
lib/digital_femsa/models/api_key_create_response.rb,
lib/digital_femsa/models/charge_response_channel.rb,
lib/digital_femsa/models/charge_response_refunds.rb,
lib/digital_femsa/models/checkout_order_template.rb,
lib/digital_femsa/models/customer_antifraud_info.rb,
lib/digital_femsa/models/discount_lines_response.rb,
lib/digital_femsa/models/order_response_checkout.rb,
lib/digital_femsa/models/order_response_products.rb,
lib/digital_femsa/models/payment_method_response.rb,
lib/digital_femsa/models/shipping_order_response.rb,
lib/digital_femsa/models/delete_api_keys_response.rb,
lib/digital_femsa/models/transfer_method_response.rb,
lib/digital_femsa/models/update_order_tax_request.rb,
lib/digital_femsa/models/get_transactions_response.rb,
lib/digital_femsa/models/get_webhook_keys_response.rb,
lib/digital_femsa/models/update_order_tax_response.rb,
lib/digital_femsa/models/api_key_response_on_delete.rb,
lib/digital_femsa/models/customer_shipping_contacts.rb,
lib/digital_femsa/models/order_next_action_response.rb,
lib/digital_femsa/models/webhook_key_update_request.rb,
lib/digital_femsa/models/get_payment_method_response.rb,
lib/digital_femsa/models/order_fiscal_entity_request.rb,
lib/digital_femsa/models/order_request_customer_info.rb,
lib/digital_femsa/models/payment_method_cash_request.rb,
lib/digital_femsa/models/webhook_key_create_response.rb,
lib/digital_femsa/models/webhook_key_delete_response.rb,
lib/digital_femsa/models/charge_response_refunds_data.rb,
lib/digital_femsa/models/company_fiscal_info_response.rb,
lib/digital_femsa/models/discount_lines_data_response.rb,
lib/digital_femsa/models/order_customer_info_response.rb,
lib/digital_femsa/models/order_discount_lines_request.rb,
lib/digital_femsa/models/order_fiscal_entity_response.rb,
lib/digital_femsa/models/order_response_customer_info.rb,
lib/digital_femsa/models/payment_method_cash_response.rb,
lib/digital_femsa/models/charge_request_payment_method.rb,
lib/digital_femsa/models/customer_payment_methods_data.rb,
lib/digital_femsa/models/order_response_discount_lines.rb,
lib/digital_femsa/models/transfer_destination_response.rb,
lib/digital_femsa/models/charge_response_payment_method.rb,
lib/digital_femsa/models/customer_info_just_customer_id.rb,
lib/digital_femsa/models/update_customer_antifraud_info.rb,
lib/digital_femsa/models/customer_payment_method_request.rb,
lib/digital_femsa/models/order_response_shipping_contact.rb,
lib/digital_femsa/models/customer_antifraud_info_response.rb,
lib/digital_femsa/models/customer_fiscal_entities_request.rb,
lib/digital_femsa/models/customer_payment_methods_request.rb,
lib/digital_femsa/models/customer_fiscal_entities_response.rb,
lib/digital_femsa/models/customer_payment_methods_response.rb,
lib/digital_femsa/models/customer_update_shipping_contacts.rb,
lib/digital_femsa/models/get_order_discount_lines_response.rb,
lib/digital_femsa/models/customer_shipping_contacts_address.rb,
lib/digital_femsa/models/order_update_fiscal_entity_request.rb,
lib/digital_femsa/models/order_update_request_customer_info.rb,
lib/digital_femsa/models/company_payout_destination_response.rb,
lib/digital_femsa/models/customer_response_shipping_contacts.rb,
lib/digital_femsa/models/customer_shipping_contacts_response.rb,
lib/digital_femsa/models/update_order_discount_lines_request.rb,
lib/digital_femsa/models/charge_order_response_payment_method.rb,
lib/digital_femsa/models/company_fiscal_info_address_response.rb,
lib/digital_femsa/models/order_fiscal_entity_address_response.rb,
lib/digital_femsa/models/checkout_order_template_customer_info.rb,
lib/digital_femsa/models/customer_fiscal_entities_data_response.rb,
lib/digital_femsa/models/create_customer_payment_methods_request.rb,
lib/digital_femsa/models/customer_info_just_customer_id_response.rb,
lib/digital_femsa/models/customer_update_fiscal_entities_request.rb,
lib/digital_femsa/models/create_customer_fiscal_entities_response.rb,
lib/digital_femsa/models/create_customer_payment_methods_response.rb,
lib/digital_femsa/models/customer_shipping_contacts_data_response.rb,
lib/digital_femsa/models/update_customer_fiscal_entities_response.rb,
lib/digital_femsa/models/update_customer_payment_methods_response.rb,
lib/digital_femsa/models/get_customer_payment_method_data_response.rb,
lib/digital_femsa/models/order_next_action_response_redirect_to_url.rb,
lib/digital_femsa/models/customer_shipping_contacts_response_address.rb
Overview
#Femsa API
#Femsa sdk
The version of the OpenAPI document: 2.1.0 Contact: [email protected] Generated by: openapi-generator.tech Generator version: 7.5.0
Defined Under Namespace
Modules: ChargeOrderResponsePaymentMethod, ChargeResponsePaymentMethod, CheckoutOrderTemplateCustomerInfo, CreateCustomerPaymentMethodsRequest, CreateCustomerPaymentMethodsResponse, CustomerPaymentMethodsData, CustomerPaymentMethodsRequest, GetCustomerPaymentMethodDataResponse, OrderRequestCustomerInfo, OrderUpdateRequestCustomerInfo, UpdateCustomerPaymentMethodsResponse Classes: ApiClient, ApiError, ApiKeyCreateResponse, ApiKeyRequest, ApiKeyResponse, ApiKeyResponseOnDelete, ApiKeyUpdateRequest, ApiKeysApi, BalanceCommonField, BalanceResponse, BalancesApi, ChargeOrderResponse, ChargeRequest, ChargeRequestPaymentMethod, ChargeResponse, ChargeResponseChannel, ChargeResponseRefunds, ChargeResponseRefundsData, ChargeUpdateRequest, ChargesApi, ChargesDataResponse, Checkout, CheckoutOrderTemplate, CheckoutRequest, CheckoutResponse, CheckoutsResponse, CompaniesApi, CompanyFiscalInfoAddressResponse, CompanyFiscalInfoResponse, CompanyPayoutDestinationResponse, CompanyResponse, Configuration, CreateCustomerFiscalEntitiesResponse, Customer, CustomerAddress, CustomerAntifraudInfo, CustomerAntifraudInfoResponse, CustomerFiscalEntitiesDataResponse, CustomerFiscalEntitiesRequest, CustomerFiscalEntitiesResponse, CustomerInfo, CustomerInfoJustCustomerId, CustomerInfoJustCustomerIdResponse, CustomerPaymentMethodRequest, CustomerPaymentMethodsResponse, CustomerResponse, CustomerResponseShippingContacts, CustomerShippingContacts, CustomerShippingContactsAddress, CustomerShippingContactsDataResponse, CustomerShippingContactsResponse, CustomerShippingContactsResponseAddress, CustomerUpdateFiscalEntitiesRequest, CustomerUpdateShippingContacts, CustomersApi, CustomersResponse, DeleteApiKeysResponse, Details, DetailsError, DiscountLinesDataResponse, DiscountLinesResponse, DiscountsApi, EmailCheckoutRequest, Error, EventResponse, EventsApi, EventsResendResponse, FiscalEntityAddress, GetApiKeysResponse, GetChargesResponse, GetCompaniesResponse, GetEventsResponse, GetOrderDiscountLinesResponse, GetOrdersResponse, GetPaymentMethodResponse, GetTransactionsResponse, GetTransfersResponse, GetWebhookKeysResponse, GetWebhooksResponse, LogResponse, LogsApi, LogsResponse, LogsResponseData, OrderCaptureRequest, OrderCustomerInfoResponse, OrderDiscountLinesRequest, OrderFiscalEntityAddressResponse, OrderFiscalEntityRequest, OrderFiscalEntityResponse, OrderNextActionResponse, OrderNextActionResponseRedirectToUrl, OrderRefundRequest, OrderRequest, OrderResponse, OrderResponseCharges, OrderResponseCheckout, OrderResponseCustomerInfo, OrderResponseDiscountLines, OrderResponseProducts, OrderResponseShippingContact, OrderTaxRequest, OrderUpdateFiscalEntityRequest, OrderUpdateRequest, OrdersApi, OrdersResponse, Page, Pagination, PaymentLinkApi, PaymentMethod, PaymentMethodCash, PaymentMethodCashRequest, PaymentMethodCashResponse, PaymentMethodResponse, PaymentMethodsApi, Product, ProductDataResponse, ProductOrderResponse, ProductsApi, ShippingContactsApi, ShippingOrderResponse, ShippingRequest, ShippingsApi, SmsCheckoutRequest, TaxesApi, TransactionResponse, TransactionsApi, TransferDestinationResponse, TransferMethodResponse, TransferResponse, TransfersApi, TransfersResponse, UpdateCustomer, UpdateCustomerAntifraudInfo, UpdateCustomerFiscalEntitiesResponse, UpdateOrderDiscountLinesRequest, UpdateOrderTaxRequest, UpdateOrderTaxResponse, UpdatePaymentMethods, UpdateProduct, WebhookKeyCreateResponse, WebhookKeyDeleteResponse, WebhookKeyRequest, WebhookKeyResponse, WebhookKeyUpdateRequest, WebhookKeysApi, WebhookLog, WebhookRequest, WebhookResponse, WebhookUpdateRequest, WebhooksApi
Constant Summary collapse
- VERSION =
'1.0.0'
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.
DigitalFemsa.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
189 190 191 192 193 194 195 |
# File 'lib/digital_femsa.rb', line 189 def configure if block_given? yield(Configuration.default) else Configuration.default end end |