Sha256: 890ca8f4cd82ba10f19fcdb1144dc71e3bf0b86afd32f8b2c262b703ec0d26fd
Contents?: true
Size: 887 Bytes
Versions: 1
Compression:
Stored size: 887 Bytes
Contents
require "chatwork/version" module ChatWork autoload(:Client, 'chatwork/client') autoload(:Operations, 'chatwork/operations') autoload(:ChatWorkError, 'chatwork/chatwork_error') autoload(:APIConnectionError, 'chatwork/chatwork_error') autoload(:APIError, 'chatwork/chatwork_error') autoload(:Room, 'chatwork/room') autoload(:Entity, 'chatwork/entity') autoload(:Message, 'chatwork/message') autoload(:Me, 'chatwork/me') @api_base = 'https://api.chatwork.com/' @api_version = '/v1' @api_key = nil class << self def client @client ||= Client.new(@api_key, @api_base, @api_version) end def api_base=(new_value) @api_base = new_value @client = nil end def api_key=(new_value) @api_key = new_value @client = nil end def api_base @api_base end def api_key @api_key end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chatwork-0.0.5 | lib/chatwork.rb |