Sha256: 55937cb62b264172ad262b0832a321b963f93bd66c7000bb63af8bd81c69043e

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

module BridgeBankin
  class Insight < BridgeObject
    class << self
      include API::Resource

      def categories_insights(access_token:, **params)
        protected_resource(access_token) do
          data = api_client.get("/v2/insights/category", params)
          convert_to_bridge_object(data)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bridge_bankin-0.1.0 lib/bridge_bankin/insight.rb