Class: INatGet::Data::Parser::Place Private
- Inherits:
-
INatGet::Data::Parser
- Object
- INatGet::Data::Parser
- INatGet::Data::Parser::Place
- Includes:
- Singleton
- Defined in:
- lib/inat-get/data/parsers/place.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
- #fake(id) ⇒ Object private
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.
28 29 30 |
# File 'lib/inat-get/data/parsers/place.rb', line 28 def fake id self.model.create id: id, name: "Fake \##{ id }", display_name: "Fake \##{ id }", slug: "fake-#{ id }", cached: Time::now end |