Class: Agris::Api::Messages::Import
- Inherits:
-
MessageBase
- Object
- MessageBase
- Agris::Api::Messages::Import
- Defined in:
- lib/agris/api/messages/import.rb
Instance Method Summary collapse
-
#initialize(model) ⇒ Import
constructor
A new instance of Import.
- #message_hash ⇒ Object
- #message_number ⇒ Object
Methods inherited from MessageBase
Constructor Details
#initialize(model) ⇒ Import
Returns a new instance of Import.
6 7 8 |
# File 'lib/agris/api/messages/import.rb', line 6 def initialize(model) @model = model end |
Instance Method Details
#message_hash ⇒ Object
14 15 16 17 18 |
# File 'lib/agris/api/messages/import.rb', line 14 def { xml: xml_hash } end |
#message_number ⇒ Object
10 11 12 |
# File 'lib/agris/api/messages/import.rb', line 10 def 82_320 end |