class Backlog4r::Client

Public Class Methods

new(space_name, user_id, password, prefix) click to toggle source
Calls superclass method
# File lib/backlog4r/client.rb, line 8
def initialize(space_name, user_id, password, prefix)
  space_uri  = URI.parse("https://#{space_name}.backlog.jp/XML-RPC")
  proxy_host = proxy_port = nil
  use_ssl    = true
  timeout    = 5

  server = XMLRPC::Client.new(space_uri.host,
                              space_uri.path,
                              space_uri.port,
                              proxy_host,
                              proxy_port,
                              user_id,
                              password,
                              use_ssl,
                              timeout,
                             )
  super(server, prefix)
end

Public Instance Methods

method_missing(action, *args) click to toggle source
Calls superclass method
# File lib/backlog4r/client.rb, line 27
def method_missing(action, *args)
  action = action.to_s.camelize(:lower).to_sym
  super
end