Sha256: 341dd8ded242fa64dd5f86f15c943849aa23b6653b724d81b872812814d6a27b

Contents?: true

Size: 394 Bytes

Versions: 6

Compression:

Stored size: 394 Bytes

Contents

# typed: true
require 'sorbet-runtime'

module Moneylovercli
  module Api
    class Category < MoneyLover
      sig { params(wallet_id: String).returns(HTTParty::Response) }

      def list(wallet_id:)
        self.class.post('/category/list', body: { walletId: wallet_id },
                                          headers: { authorization: "AuthJWT #{@token}" })
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
moneylovercli-0.1.7 lib/moneylovercli/api/category.rb
moneylovercli-0.1.6 lib/moneylovercli/api/category.rb
moneylovercli-0.1.4 lib/moneylovercli/api/category.rb
moneylovercli-0.1.3 lib/moneylovercli/api/category.rb
moneylovercli-0.1.2 lib/moneylovercli/api/category.rb
moneylovercli-0.1.1 lib/moneylovercli/api/category.rb