Sha256: 54013756bf9e35658a132a52695657a664f2b05f9d8d43552855c2104bc4cce0

Contents?: true

Size: 636 Bytes

Versions: 69

Compression:

Stored size: 636 Bytes

Contents

module FinApps
  module REST
    class Categories < FinApps::REST::Resources
      include FinApps::REST::Defaults

      # @return [Array<Hash>, Array<String>]
      def list
        logger.debug "##{__method__.to_s} => Started"

        end_point = Defaults::END_POINTS[:categories_list]
        logger.debug "##{__method__.to_s} => end_point: #{end_point}"

        path = end_point
        logger.debug "##{__method__.to_s} => path: #{path}"

        categories, error_messages = @client.send(path, :get)

        logger.debug "##{__method__.to_s} => Completed"
        return categories, error_messages
      end

    end
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
finapps-0.22.2.pre lib/finapps/rest/categories.rb
finapps-0.22.1.pre lib/finapps/rest/categories.rb
finapps-0.22.0.pre lib/finapps/rest/categories.rb
finapps-0.21.6.pre lib/finapps/rest/categories.rb
finapps-0.21.5.pre lib/finapps/rest/categories.rb
finapps-0.21.4.pre lib/finapps/rest/categories.rb
finapps-0.21.3.pre lib/finapps/rest/categories.rb
finapps-0.21.2.pre lib/finapps/rest/categories.rb
finapps-0.21.0.pre lib/finapps/rest/categories.rb
finapps-0.20.0.pre lib/finapps/rest/categories.rb
finapps-0.19.1.pre lib/finapps/rest/categories.rb
finapps-0.19.0.pre lib/finapps/rest/categories.rb
finapps-0.18.4.pre lib/finapps/rest/categories.rb
finapps-0.18.3.pre lib/finapps/rest/categories.rb
finapps-0.18.2.pre lib/finapps/rest/categories.rb
finapps-0.18.1.pre lib/finapps/rest/categories.rb
finapps-0.18.0.pre lib/finapps/rest/categories.rb
finapps-0.17.1.pre lib/finapps/rest/categories.rb
finapps-0.17.0.pre lib/finapps/rest/categories.rb
finapps-0.16.6.pre lib/finapps/rest/categories.rb