Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A set of interfaces for RESTful resource models, and a Rack adapter to expose them
Ruby
Branch: master
Pull request Compare This branch is 15 commits ahead, 1 commit behind mjwillson:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
test/functional
.gitignore
.travis.yml
Gemfile
README.md
Rakefile
TODO
doze.gemspec

README.md

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

Something went wrong with that request. Please try again.