Sha256: d9f9c4822ca271f290b47e1c212e2a3926b3634cf806be4e7266579fbd635d91

Contents?: true

Size: 413 Bytes

Versions: 3

Compression:

Stored size: 413 Bytes

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 invoice
      Moip2::InvoiceApi.new client
    end

    def refund
      Moip2::RefundApi.new(client)
    end

    def keys
      Moip2::KeysApi.new(client)
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
moip2-0.1.4 lib/moip2/api.rb
moip2-0.1.3 lib/moip2/api.rb
moip2-0.1.1 lib/moip2/api.rb