summaryrefslogtreecommitdiff
path: root/lib/types/cake.rb
diff options
context:
space:
mode:
authormo khan <mo.m.khan@shopify.com>2020-12-23 15:05:00 -0700
committermo khan <mo.m.khan@shopify.com>2020-12-23 15:05:00 -0700
commit35f62884ceee77fa28bec0533e0f3bb15336e941 (patch)
tree84787779650e0437107fa41052cef1eb503ae4e3 /lib/types/cake.rb
parentb8670e1826f05b38e6b2405d0ca916573de43284 (diff)
chore: move types to separate files
Diffstat (limited to 'lib/types/cake.rb')
-rw-r--r--lib/types/cake.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/types/cake.rb b/lib/types/cake.rb
new file mode 100644
index 0000000..94f3240
--- /dev/null
+++ b/lib/types/cake.rb
@@ -0,0 +1,5 @@
+module Types
+ class Cake < GraphQL::Schema::Object
+ field :name, String, null: false
+ end
+end