Sha256: 08832c7d134124106ebc0f45d668224a33639b0da119471c88957b2d6b1a911f

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 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

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
moip2-0.1.0 lib/moip2/api.rb