Sha256: 34d565904e590d45aa182b9e7a3ceb2b3b47fe868016d88f27481dd3313eaeae

Contents?: true

Size: 1.11 KB

Versions: 14

Compression:

Stored size: 1.11 KB

Contents

module Access
  class Report
    include Access::MuchMeta

    def self.all_usage(options = {})
      # Internal Admin only Call
      Access::Api.new.all_usage options
    end

    def self.usage(options = {})
      # Internal Admin only Call
      Access::Api.new.usage options
    end

    def self.usage_other(key, options = {})
      # Internal Admin only Call
      Access::Api.new.usage_other key, options
    end

    def self.member_query_frequent(member, options = {})
      Access::Api.new.member_query_frequent member, options
    end

    def self.member_query_recent(member, options = {})
      Access::Api.new.member_query_recent member, options
    end

    def self.member_location_frequent(member, options = {})
      Access::Api.new.member_location_frequent member, options
    end

    def self.member_location_recent(member, options = {})
      Access::Api.new.member_location_recent member, options
    end

    def self.process_batch(chunk)
      chunk.map { |data| new(data) }
    end

    def initialize(values)
      @used_fields = []
      set_up_methods(values)
      set_values(values)
    end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
access-2.3.0.pre.rc2 lib/access/report.rb
access-2.3.0.pre.rc1 lib/access/report.rb
access-2.2.0 lib/access/report.rb
access-2.1.5 lib/access/report.rb
access-2.1.4 lib/access/report.rb
access-2.1.3 lib/access/report.rb
access-2.1.2 lib/access/report.rb
access-2.1.1 lib/access/report.rb
access-2.1.0 lib/access/report.rb
access-2.0.55 lib/access/report.rb
access-2.0.54 lib/access/report.rb
access-2.0.53 lib/access/report.rb
access-2.0.52 lib/access/report.rb
access-2.0.51 lib/access/report.rb