Method: JujuResult#initialize

Defined in:
lib/juju.rb

#initialize(jobs_array, total = 0, start_index = 0, per_page = 0) ⇒ JujuResult

Returns a new instance of JujuResult.



63
64
65
66
67
68
# File 'lib/juju.rb', line 63

def initialize(jobs_array, total = 0, start_index = 0, per_page = 0)
  super(jobs_array)
  self.total = total.to_i
  self.start_index = start_index.to_i
  self.per_page = per_page.to_i
end