Class: RubygemsDownloads::Stats::Author

Inherits:
Base show all
Defined in:
lib/rubygems_downloads/stats/author.rb

Instance Attribute Summary

Attributes inherited from Base

#name

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from RubygemsDownloads::Stats::Base

Instance Method Details

#callObject



8
9
10
11
12
13
14
15
16
# File 'lib/rubygems_downloads/stats/author.rb', line 8

def call
  response = super

  return invalid_response_return_value if response.nil?

  response.map do |entry|
    RubygemsDownloads::Gem.from_json(entry)
  end
end