Class: Pastvu::BoundsResponse

Inherits:
BasicResponse show all
Defined in:
lib/pastvu/response/bounds_response.rb

Instance Attribute Summary

Attributes inherited from BasicResponse

#hash, #json

Instance Method Summary collapse

Methods inherited from BasicResponse

#initialize, #to_hash, #to_json

Constructor Details

This class inherits a constructor from Pastvu::BasicResponse

Instance Method Details

#clustersObject



3
4
5
6
# File 'lib/pastvu/response/bounds_response.rb', line 3

def clusters
  @hash ||= self.to_hash
  ClusterCollection.new @hash
end

#photosObject



8
9
10
11
# File 'lib/pastvu/response/bounds_response.rb', line 8

def photos
  @hash ||= self.to_hash
  PhotoCollection.new @hash
end