Skip to content
/ doze Public
forked from mjwillson/doze

A set of interfaces for RESTful resource models, and a Rack adapter to expose them

Notifications You must be signed in to change notification settings

mediasp/doze

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Gem Version

Doze

RESTful resource-oriented API framework.

  • Hierarchical routing
  • RESTful concepts are baked in to the library, not as an afterthought
  • Content-Type negotiation
  • Simple, extendable authentication

Hello, world

require 'doze'

class HelloWorld
  include Doze::Resource
  include Doze::Serialization::Resource

  def get_data
    {:message => 'Hello, World'}
  end
end

run Doze::Application.new(HelloWorld.new)

Take a look at example/example_app.rb for a more complex version

About

A set of interfaces for RESTful resource models, and a Rack adapter to expose them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Ruby 100.0%