Module: Sinatra::RhosyncHelpers

Defined in:
lib/rhosync/endpoints.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) call_helper(method, *args)



145
146
147
148
149
150
# File 'lib/rhosync/endpoints.rb', line 145

def call_helper(method,*args)
  code, c_type, body = Rhosync::EndpointHelpers.send(method,*args)
  content_type c_type['Content-Type']
  status code
  body[0]
end