Sha256: 8e63a153d9c891bea3e671f8c8a9c3af01662937f88e21b26f81b5fcca1e7a7f
Contents?: true
Size: 575 Bytes
Versions: 1
Compression:
Stored size: 575 Bytes
Contents
# frozen_string_literal: true require 'seven_api/resource' # This module exposes the methods for communicating with the API endpoint /analytics. module SevenApi::Resources class Analytics < SevenApi::Resource @endpoint = SevenApi::Endpoint::ANALYTICS @http_methods = { :retrieve => :get, } # Retrieve analytics for associated API key # read more: https://www.seven.io/en/docs/gateway/http-api/analytics/ # @param params [Hash] # @return [Array] def retrieve(params = {}) request(params) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
seven_api-0.5.0 | lib/seven_api/resources/analytics.rb |