Class: INatGet::Data::Parser::User Private
- Inherits:
-
INatGet::Data::Parser
- Object
- INatGet::Data::Parser
- INatGet::Data::Parser::User
- Includes:
- Singleton
- Defined in:
- lib/inat-get/data/parsers/user.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.
23 24 25 |
# File 'lib/inat-get/data/parsers/user.rb', line 23 def fake id self.model.create id: id, login: "fake#{ id }", name: "Fake user \##{ id }", suspended: false, created: Time::now, cached: Time::now end |