module GraphitiSpecHelpers::Sugar
Public Instance Methods
d()
click to toggle source
# File lib/graphiti_spec_helpers.rb, line 25 def d jsonapi_data end
date(*args)
click to toggle source
# File lib/graphiti_spec_helpers.rb, line 45 def date(*args) json_date(*args) end
datetime(*args)
click to toggle source
# File lib/graphiti_spec_helpers.rb, line 41 def datetime(*args) json_datetime(*args) end
dt(*args)
click to toggle source
# File lib/graphiti_spec_helpers.rb, line 37 def dt(*args) json_datetime(*args) end
errors()
click to toggle source
# File lib/graphiti_spec_helpers.rb, line 33 def errors jsonapi_errors end
included(type = nil)
click to toggle source
# File lib/graphiti_spec_helpers.rb, line 29 def included(type = nil) jsonapi_included(type) end