|
|
|
@ -18,14 +18,14 @@ |
|
|
|
|
#++ |
|
|
|
|
|
|
|
|
|
require 'roar/decorator' |
|
|
|
|
require 'roar/representer/json/hal' |
|
|
|
|
require 'roar/json/hal' |
|
|
|
|
|
|
|
|
|
module API |
|
|
|
|
module V3 |
|
|
|
|
module CostObjects |
|
|
|
|
class CostObjectRepresenter < Roar::Decorator |
|
|
|
|
include Roar::Representer::JSON::HAL |
|
|
|
|
include Roar::Representer::Feature::Hypermedia |
|
|
|
|
include Roar::JSON::HAL |
|
|
|
|
include Roar::Hypermedia |
|
|
|
|
include OpenProject::StaticRouting::UrlHelpers |
|
|
|
|
|
|
|
|
|
self.as_strategy = API::Utilities::CamelCasingStrategy.new |
|
|
|
|