diff --git a/app/views/api/v1/grid_weapons/show.json.rabl b/app/views/api/v1/grid_weapons/show.json.rabl new file mode 100644 index 0000000..f63ca1a --- /dev/null +++ b/app/views/api/v1/grid_weapons/show.json.rabl @@ -0,0 +1,6 @@ +object @weapon + +attributes :id, + :party_id, + :weapon_id, + :position \ No newline at end of file diff --git a/app/views/api/v1/party/base.json.rabl b/app/views/api/v1/party/base.json.rabl new file mode 100644 index 0000000..71ddcd3 --- /dev/null +++ b/app/views/api/v1/party/base.json.rabl @@ -0,0 +1,3 @@ +object :party + +attributes :id, :shortcode \ No newline at end of file diff --git a/app/views/api/v1/party/show.json.rabl b/app/views/api/v1/party/show.json.rabl new file mode 100644 index 0000000..e7dddf5 --- /dev/null +++ b/app/views/api/v1/party/show.json.rabl @@ -0,0 +1,3 @@ +object @party + +extends 'api/v1/party/base' \ No newline at end of file