Module: Sinatra::RhoconnectHelpers

Defined in:
lib/rhoconnect/endpoints.rb

Instance Method Summary collapse

Instance Method Details

#call_helper(method, *args) ⇒ Object



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

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