Class: GoogleBase::SearchResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/allyourbase.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attrs = nil) ⇒ SearchResponse

Returns a new instance of SearchResponse.



78
79
80
81
82
# File 'lib/allyourbase.rb', line 78

def initialize(attrs = nil)
  attrs.each_pair do |k,v|
    send "#{k}=", v
  end if(attrs)
end

Instance Attribute Details

#countObject

Returns the value of attribute count.



76
77
78
# File 'lib/allyourbase.rb', line 76

def count
  @count
end

#limitObject

Returns the value of attribute limit.



76
77
78
# File 'lib/allyourbase.rb', line 76

def limit
  @limit
end

#offsetObject

Returns the value of attribute offset.



76
77
78
# File 'lib/allyourbase.rb', line 76

def offset
  @offset
end

#optionsObject

Returns the value of attribute options.



76
77
78
# File 'lib/allyourbase.rb', line 76

def options
  @options
end

#resultsObject

Returns the value of attribute results.



76
77
78
# File 'lib/allyourbase.rb', line 76

def results
  @results
end

#termsObject

Returns the value of attribute terms.



76
77
78
# File 'lib/allyourbase.rb', line 76

def terms
  @terms
end

Instance Method Details

#next_pageObject



84
85
86
# File 'lib/allyourbase.rb', line 84

def next_page
  raise "TODO"
end

#prev_pageObject



88
89
90
# File 'lib/allyourbase.rb', line 88

def prev_page
  raise "TODO"
end