Module: Agris::Api::Grain::Tickets
- Included in:
- Client
- Defined in:
- lib/agris/api/grain/tickets.rb
Instance Method Summary collapse
-
#create_ticket(ticket) ⇒ Object
Create a new Grain ticket in Agris.
Instance Method Details
#create_ticket(ticket) ⇒ Object
Create a new Grain ticket in Agris.
In future I don’t think we’ll need a method per type of thing we want to create in Agris, but rather have a single import method that we just pass in the New*** model we want to create.
11 12 13 |
# File 'lib/agris/api/grain/tickets.rb', line 11 def create_ticket(ticket) import(ticket) end |