Sha256: 386feb60ce0219a3762d5b1e207ffb7fa3d1fc98d0661b45375c9af676afabe2

Contents?: true

Size: 593 Bytes

Versions: 2

Compression:

Stored size: 593 Bytes

Contents

module GoogleAjax
  # The Results class is the superclass for the results of API calls and acts as a Hash.
  # Instance methods can be added to add functionalities (e.g. Search#count)
  # Class methods are the actual api calls.
  #
  # For example the Search api inherits from Results.
  # GoogleAjax::Search.web will return an instance of GoogleAjax::Search
  # Some of the values within this GoogleAjax::Search instance will also
  # act as hashes. They will be instances of GoogleAjax::Base and so will
  # be their values that act as hashes.
  class Results < Base
    extend API
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
googleajax-1.0.1 lib/googleajax/results.rb
googleajax-1.0.0 lib/googleajax/results.rb