Class: INatGet::Data::Parser::Photo Private

Inherits:
INatGet::Data::Parser show all
Includes:
Singleton
Defined in:
lib/inat-get/data/parsers/photo.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Methods inherited from INatGet::Data::Parser

#entry!, #manager, #model, #parse!, part, parts, #parts

Methods included from System::Context

#check_shutdown!, check_shutdown!, #shutdown?, shutdown?

Instance Method Details

#fake(id) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



20
21
22
# File 'lib/inat-get/data/parsers/photo.rb', line 20

def fake id
  self.model.create id: id, url: ''
end