Sha256: 0a4f8783d8acbdbbe3d5043dbeaab29b878454ad9fe7a1c49667ee740b45f652

Contents?: true

Size: 501 Bytes

Versions: 13

Compression:

Stored size: 501 Bytes

Contents

class Make < RestfulResource::Base
  resource_path "makes"
  has_many :models
end

class Model < RestfulResource::Base
  has_one :make
  resource_path "groups/:group_id/makes/:make_slug/models"
end

class Dealer < RestfulResource::Base
  include RestfulResource::RailsValidations

  resource_path "dealers"
end

class BaseA < RestfulResource::Base
end

class BaseB < RestfulResource::Base
end

class TestA < BaseA
  self.resource_path "testa"
end

class TestB < BaseB
  self.resource_path "testb"
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
restful_resource-0.8.18 spec/fixtures.rb
restful_resource-0.8.17 spec/fixtures.rb
restful_resource-0.8.16 spec/fixtures.rb
restful_resource-0.8.15 spec/fixtures.rb
restful_resource-0.8.14 spec/fixtures.rb
restful_resource-0.8.13 spec/fixtures.rb
restful_resource-0.8.12 spec/fixtures.rb
restful_resource-0.8.11 spec/fixtures.rb
restful_resource-0.8.10 spec/fixtures.rb
restful_resource-0.8.9 spec/fixtures.rb
restful_resource-0.8.8 spec/fixtures.rb
restful_resource-0.8.7 spec/fixtures.rb
restful_resource-0.8.6 spec/fixtures.rb