Module: GraphitiSpecHelpers::Sugar
- Defined in:
- lib/graphiti_spec_helpers.rb
Instance Method Summary collapse
- #d ⇒ Object
- #date(*args) ⇒ Object
- #datetime(*args) ⇒ Object
- #dt(*args) ⇒ Object
- #errors ⇒ Object
- #included(type = nil) ⇒ Object
Instance Method Details
#d ⇒ Object
25 26 27 |
# File 'lib/graphiti_spec_helpers.rb', line 25 def d jsonapi_data end |
#date(*args) ⇒ Object
45 46 47 |
# File 'lib/graphiti_spec_helpers.rb', line 45 def date(*args) json_date(*args) end |
#datetime(*args) ⇒ Object
41 42 43 |
# File 'lib/graphiti_spec_helpers.rb', line 41 def datetime(*args) json_datetime(*args) end |
#dt(*args) ⇒ Object
37 38 39 |
# File 'lib/graphiti_spec_helpers.rb', line 37 def dt(*args) json_datetime(*args) end |
#errors ⇒ Object
33 34 35 |
# File 'lib/graphiti_spec_helpers.rb', line 33 def errors jsonapi_errors end |
#included(type = nil) ⇒ Object
29 30 31 |
# File 'lib/graphiti_spec_helpers.rb', line 29 def included(type = nil) jsonapi_included(type) end |