Class: IndeedResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(array, total) ⇒ IndeedResult

Returns a new instance of IndeedResult.



111
112
113
114
# File 'lib/indeed.rb', line 111

def initialize(array, total)
  super(array)
  self.total = total
end

Instance Attribute Details

#totalObject

Returns the value of attribute total.



109
110
111
# File 'lib/indeed.rb', line 109

def total
  @total
end