Project

fringe

0.0
No commit activity in last 3 years
No release in over 3 years
Ruby client for Apple DEP
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

>= 0
 Project Readme

Installation

  • gem install fringe
  • fringe new app
  • cd app
  • bundle
  • rackup

Example

HelloWorldController app/controllers/hello_world_controller.rb

class HelloWorldController < Fringe::BaseController
  def greeting
    [
      200,
      {'Content-Type' => 'text/plain'},
      [
        'Hello, World!'
      ]
    ]
  end
end

Routes app/routes.rb

module Routes
  extend Fringe::RouteHelpers
  get(/\/greet/i, HelloWorldController, :greeting)
end

start the app! rackup

> curl http://localhost:9292/greet
Hello, World!

License

Fringe is released under the MIT License.