Sha256: 19fc6a45fabb954977def38cbf03c320eef23216d2bc7bd2e888122b8c478087

Contents?: true

Size: 499 Bytes

Versions: 11

Compression:

Stored size: 499 Bytes

Contents

class StudioResource < MontageRails::ApplicationResource
  def self.schema_definition
    {
      name: "studios",
      fields: [
        {
          name: "name",
          datatype: "text",
        },
      ],
      links: {
        self: "http://testco.dev.montagehot.club/api/v1/schemas/studios/",
        query: "http://testco.dev.montagehot.club/api/v1/schemas/studios/query/",
        create_document: "http://testco.dev.montagehot.club/api/v1/schemas/studios/save/"
      }
    }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
montage_rails-1.0.0 test/dummy/test/montage_resources/studio_resource.rb
montage_rails-0.7.4 test/dummy/test/montage_resources/studio_resource.rb
montage_rails-0.7.3 test/dummy/test/montage_resources/studio_resource.rb
montage_rails-0.7.2 test/dummy/test/montage_resources/studio_resource.rb
montage_rails-0.7.1 test/dummy/test/montage_resources/studio_resource.rb
montage_rails-0.7 test/dummy/test/montage_resources/studio_resource.rb
montage_rails-0.6.4 test/dummy/test/montage_resources/studio_resource.rb
montage_rails-0.6.3 test/dummy/test/montage_resources/studio_resource.rb
montage_rails-0.6.2 test/dummy/test/montage_resources/studio_resource.rb
montage_rails-0.6.1 test/dummy/test/montage_resources/studio_resource.rb
montage_rails-0.6.0 test/dummy/test/montage_resources/studio_resource.rb