Class: Boss::Images

Inherits:
Object
  • Object
show all
Includes:
Resultset
Defined in:
lib/boss.rb

Defined Under Namespace

Classes: Result

Instance Method Summary collapse

Methods included from Resultset

#count, #initialize, #nextpage, #response

Instance Method Details

#resultsetObject



72
73
74
75
76
77
78
# File 'lib/boss.rb', line 72

def resultset
  if count > 0
    response.collect{|r| Result.new(r)}
  else
    response
  end
end