Sha256: 9ff95d394e2cddb54fdd8b9db63d83e4f5e872aed12db9010e39272dc1d7fa01

Contents?: true

Size: 584 Bytes

Versions: 22

Compression:

Stored size: 584 Bytes

Contents

module Myfinance
  module Resources
    #
    # A wrapper to Myfinance accounts API
    #
    # [API]
    #   Documentation: https://app.myfinance.com.br/docs/api/multiple_accounts
    #
    class Account < Base
      #
      # List all account of the user
      #
      # [API]
      #   Method: <tt>GET /accounts</tt>
      #
      #   Documentation: https://app.myfinance.com.br/docs/api/multiple_accounts#get_index
      #
      def find_all
        http.get("/accounts", body: {}) do |response|
          respond_with_collection(response)
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
myfinance-1.8.2 lib/myfinance/resources/account.rb
myfinance-1.8.1 lib/myfinance/resources/account.rb
myfinance-1.8.0 lib/myfinance/resources/account.rb
myfinance-1.7.0 lib/myfinance/resources/account.rb
myfinance-1.6.6 lib/myfinance/resources/account.rb
myfinance-1.6.5 lib/myfinance/resources/account.rb
myfinance-1.6.4 lib/myfinance/resources/account.rb
myfinance-1.6.3 lib/myfinance/resources/account.rb
myfinance-1.6.1 lib/myfinance/resources/account.rb
myfinance-1.6.0 lib/myfinance/resources/account.rb
myfinance-1.5.0 lib/myfinance/resources/account.rb
myfinance-1.4.1 lib/myfinance/resources/account.rb
myfinance-1.4.0 lib/myfinance/resources/account.rb
myfinance-1.3.1 lib/myfinance/resources/account.rb
myfinance-1.3.0 lib/myfinance/resources/account.rb
myfinance-1.2.1 lib/myfinance/resources/account.rb
myfinance-1.2.0 lib/myfinance/resources/account.rb
myfinance-1.1.0 lib/myfinance/resources/account.rb
myfinance-1.0.0 lib/myfinance/resources/account.rb
myfinance-0.7.0 lib/myfinance/resources/account.rb