Sha256: f149722c4053a148f6ae0a6ee902531d6467c950eb5f0f33089a3d60e234af4c
Contents?: true
Size: 1.13 KB
Versions: 3
Compression:
Stored size: 1.13 KB
Contents
module Moip2 class Api attr_reader :client def initialize(client) @client = client end def order Moip2::OrderApi.new(client) end def payment Moip2::PaymentApi.new(client) end def balances Moip2::BalancesApi.new(client) end def entries Moip2::EntryApi.new(client) end def invoice Moip2::InvoiceApi.new client end def refund Moip2::RefundApi.new(client) end def keys Moip2::KeysApi.new(client) end def customer Moip2::CustomerApi.new(client) end def multi_order Moip2::MultiOrderApi.new(client) end def multi_payment Moip2::MultiPaymentApi.new(client) end def accounts Moip2::AccountsApi.new(client) end def bank_accounts Moip2::BankAccountsApi.new(client) end def webhooks Moip2::WebhooksApi.new(client) end def connect connect_client = Moip2::ConnectClient.new(client.env, client.auth, client.opts) Moip2::ConnectApi.new(connect_client) end def notifications Moip2::NotificationsApi.new(client) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
moip2-1.2.1 | lib/moip2/api.rb |
moip2-1.2.0 | lib/moip2/api.rb |
moip2-1.1.0 | lib/moip2/api.rb |