Class: Pastvu::BoundsResponse
- Inherits:
-
BasicResponse
- Object
- BasicResponse
- Pastvu::BoundsResponse
- Defined in:
- lib/pastvu/response/bounds_response.rb
Instance Attribute Summary
Attributes inherited from BasicResponse
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
#clusters ⇒ Object
3 4 5 6 |
# File 'lib/pastvu/response/bounds_response.rb', line 3 def clusters @hash ||= self.to_hash ClusterCollection.new @hash end |
#photos ⇒ Object
8 9 10 11 |
# File 'lib/pastvu/response/bounds_response.rb', line 8 def photos @hash ||= self.to_hash PhotoCollection.new @hash end |