Sha256: 8f60d465a07411fb0a61f63ceafb85e91669bbac3571ad2bc279ec5d802e2bd1

Contents?: true

Size: 675 Bytes

Versions: 11

Compression:

Stored size: 675 Bytes

Contents

class ActorResource < MontageRails::ApplicationResource
  def self.schema_definition
    {
      name: "actors",
      fields: [
        {
          name: "movie_id",
          datatype: "text",
          indexed: false,
          required: false
        },
        {
          name: "name",
          datatype: "text",
          indexed: false,
          required: false
        },
      ],
      links: {
        self: "http://testco.dev.montagehot.club/api/v1/schemas/actors/",
        query: "http://testco.dev.montagehot.club/api/v1/schemas/actors/query/",
        create_document: "http://testco.dev.montagehot.club/api/v1/schemas/actors/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/actor_resource.rb
montage_rails-0.7.4 test/dummy/test/montage_resources/actor_resource.rb
montage_rails-0.7.3 test/dummy/test/montage_resources/actor_resource.rb
montage_rails-0.7.2 test/dummy/test/montage_resources/actor_resource.rb
montage_rails-0.7.1 test/dummy/test/montage_resources/actor_resource.rb
montage_rails-0.7 test/dummy/test/montage_resources/actor_resource.rb
montage_rails-0.6.4 test/dummy/test/montage_resources/actor_resource.rb
montage_rails-0.6.3 test/dummy/test/montage_resources/actor_resource.rb
montage_rails-0.6.2 test/dummy/test/montage_resources/actor_resource.rb
montage_rails-0.6.1 test/dummy/test/montage_resources/actor_resource.rb
montage_rails-0.6.0 test/dummy/test/montage_resources/actor_resource.rb