Sha256: 86d4326fadae96b07bdedd094646081190bc0e635e198397b888495884336c84
Contents?: true
Size: 664 Bytes
Versions: 30
Compression:
Stored size: 664 Bytes
Contents
module Plaid # Public: Class used to call the Categories product. class Categories < BaseProduct # Public: Get information about all Plaid categories # # Does a POST /categories/get call to retrieve a list of all categories. # # Returns the CategoriesResponse object with a list of categories. def get CategoriesResponse.new(client.post('categories/get', {})) end end # Public: Response wrapper for /categories/get. class CategoriesResponse < Models::BaseResponse ## # :attr_reader: # Public: Categories: Array of Plaid::Models::Category. property :categories, coerce: Array[Models::Category] end end
Version data entries
30 entries across 30 versions & 1 rubygems