Sha256: 9f092fe479575e4f8a4f74b59eeff2e73323269d00a0d1e97dc684335257210e

Contents?: true

Size: 949 Bytes

Versions: 25

Compression:

Stored size: 949 Bytes

Contents

class TestResource < ApiResource::Base
end

module MyMod
  def abc
    puts "HI"
  end
end

class LocalResource < ApiResource::Local
  include MyMod
end

class ChildTestResource < TestResource
end

class AnotherTestResource < ApiResource::Base
  
end

class HasManyObject < ApiResource::Base
end

class BelongsToObject < ApiResource::Base
end

class HasOneObject < ApiResource::Base
end

class ErrorResource < ApiResource::Base
  
end

class PrefixModel < ApiResource::Base
  self.prefix = "/foreign/:foreign_key_id/"
end

class ScopeResource < ApiResource::Base
  
end

class ErrorFullMessageResource < ApiResource::Base
  
end

class TestThrough < ApiResource::Base

end

module TestMod
  
  module InnerMod
    
    class InnerClass < ApiResource::Base
   
    end
    
  end
  
  class TestClass < ApiResource::Base
    
  end
  
  class TestAssociation < ApiResource::Base
    
  end
  
  class TestResource < ApiResource::Base
  
  end
  
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
api_resource-0.6.18 spec/support/test_resource.rb
api_resource-0.6.17 spec/support/test_resource.rb
api_resource-0.6.16 spec/support/test_resource.rb
api_resource-0.6.15 spec/support/test_resource.rb
api_resource-0.6.14 spec/support/test_resource.rb
api_resource-0.6.13 spec/support/test_resource.rb
api_resource-0.6.12 spec/support/test_resource.rb
api_resource-0.6.11 spec/support/test_resource.rb
api_resource-0.6.9 spec/support/test_resource.rb
api_resource-0.6.10 spec/support/test_resource.rb
api_resource-0.6.8 spec/support/test_resource.rb
api_resource-0.6.7 spec/support/test_resource.rb
api_resource-0.6.6 spec/support/test_resource.rb
api_resource-0.6.5 spec/support/test_resource.rb
api_resource-0.6.4 spec/support/test_resource.rb
api_resource-0.6.3 spec/support/test_resource.rb
api_resource-0.6.2 spec/support/test_resource.rb
api_resource-0.6.1 spec/support/test_resource.rb
api_resource-0.6.0 spec/support/test_resource.rb
api_resource-0.5.1 spec/support/test_resource.rb