Module: INatChannel::Message
- Defined in:
- lib/inat-channel/message.rb
Class Method Summary collapse
Class Method Details
.list_photos(observation) ⇒ Object
24 25 26 27 |
# File 'lib/inat-channel/message.rb', line 24 def list_photos observation return [] unless observation[:photos] observation[:photos].map { |ph| ph[:url].gsub("square", "original") } end |