Sha256: 7cc15d5ce368a691ba97f08db067d6793065e1c3c3235db036016c1ade7d1507

Contents?: true

Size: 388 Bytes

Versions: 6

Compression:

Stored size: 388 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 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

6 entries across 6 versions & 1 rubygems

Version Path
restful_resource-0.8.5 spec/fixtures.rb
restful_resource-0.8.4 spec/fixtures.rb
restful_resource-0.8.3 spec/fixtures.rb
restful_resource-0.8.2 spec/fixtures.rb
restful_resource-0.8.1 spec/fixtures.rb
restful_resource-0.8.0 spec/fixtures.rb