module SimpleHelper::Config
Public Class Methods
reference()
click to toggle source
# File lib/simple_helper/config.rb, line 21 def reference %w[scheme host port request_uri path query] end
supported_format()
click to toggle source
# File lib/simple_helper/config.rb, line 25 def supported_format %w[json plain] end
supported_methods()
click to toggle source
# File lib/simple_helper/config.rb, line 7 def supported_methods { 'get' => Net::HTTP::Get, 'post' => Net::HTTP::Post, 'patch' => Net::HTTP::Patch, 'put' => Net::HTTP::Put, 'delete' => Net::HTTP::Delete } end
supported_schemes()
click to toggle source
# File lib/simple_helper/config.rb, line 17 def supported_schemes %w[http https] end