class Redminer::Base
Attributes
server[RW]
Public Class Methods
new(host, access_key, options = {})
click to toggle source
# File lib/redminer/base.rb, line 5 def initialize(host, access_key, options = {}) @server = Server.new(host, access_key, options) end
Public Instance Methods
all=(hash)
click to toggle source
# File lib/redminer/base.rb, line 9 def all=(hash) hash.each_pair { |k, v| if respond_to?("#{k}=") send("#{k}=", v) end } self end
method_missing(m, *args, &blk)
click to toggle source
# File lib/redminer/base.rb, line 18 def method_missing(m, *args, &blk) @server.send(m, *args, &blk) end