class Cottus::Connection
Attributes
host[R]
Public Class Methods
new(connection)
click to toggle source
# File lib/cottus/connection.rb, line 11 def initialize(connection) @connection = connection end
Private Instance Methods
wrapper(verb, path, options={})
click to toggle source
# File lib/cottus/connection.rb, line 21 def wrapper(verb, path, options={}) @connection.send(verb, options.merge({path: path})) end