module Tasuku::Concerns::Models::Taskables::Taskable::Submission::ClassMethods
Public Instance Methods
request(is: nil)
click to toggle source
Declare the relation the response belongs to.
is - A String or Symbol describing the relation that instances of this model
are responses for.
This method really only aliases the relation to 'request' so as to promote a common interface for any submission.
# File lib/tasuku/concerns/models/taskables/taskable/submission.rb, line 34 def request is: nil alias_method :request, is end