class Myrando::RandoConnection
Public Class Methods
new()
click to toggle source
# File lib/myrando.rb, line 12 def initialize() end
Public Instance Methods
get(path)
click to toggle source
# File lib/myrando.rb, line 15 def get(path) opts = { :headers => { 'User-Agent' => "myrando/#{Myrando::VERSION}" } } return self.class.get(path, opts) end
post(path, body)
click to toggle source
# File lib/myrando.rb, line 20 def post(path, body) opts = { :body => body, :headers => { 'User-Agent' => "myrando/#{Myrando::VERSION}" } } return self.class.post(path, opts) end