diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-21 21:54:15 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-21 21:54:15 -0700 |
| commit | 476bee1ff1e1c0d4fe553898f5f029530a41919c (patch) | |
| tree | 70e3d78c2f6ab0b7f2f10be274f202091014430a /app/views/v1 | |
| parent | fe13da4831bade3b7292d5143ab7267edd4a63df (diff) | |
start to build the json specs.
Diffstat (limited to 'app/views/v1')
| -rw-r--r-- | app/views/v1/company_licenses/index.jbuilder | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/v1/company_licenses/index.jbuilder b/app/views/v1/company_licenses/index.jbuilder new file mode 100644 index 0000000..ff31792 --- /dev/null +++ b/app/views/v1/company_licenses/index.jbuilder @@ -0,0 +1,9 @@ +json.array! @licenses do |license| + json.issued_at license.issued_at.to_s + json.expired_at license.expired_at.to_s + json.well_type do + json.id 1 + json.pneumonic "NFW" + json.name "New Field Wildcat" + end +end |
