module Agris::Api::Grain::Tickets
Public Instance Methods
create_ticket(ticket)
click to toggle source
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.
# File lib/agris/api/grain/tickets.rb, line 11 def create_ticket(ticket) import(ticket) end