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.



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

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.



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

def count
  @count
end

#limitObject

Returns the value of attribute limit.



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

def limit
  @limit
end

#offsetObject

Returns the value of attribute offset.



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

def offset
  @offset
end

#optionsObject

Returns the value of attribute options.



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

def options
  @options
end

#resultsObject

Returns the value of attribute results.



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

def results
  @results
end

#termsObject

Returns the value of attribute terms.



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

def terms
  @terms
end

Instance Method Details

#next_pageObject



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

def next_page
  raise "TODO"
end

#prev_pageObject



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

def prev_page
  raise "TODO"
end