Module: ChatWork
- Defined in:
- lib/chatwork.rb,
lib/chatwork/me.rb,
lib/chatwork/room.rb,
lib/chatwork/task.rb,
lib/chatwork/client.rb,
lib/chatwork/entity.rb,
lib/chatwork/member.rb,
lib/chatwork/message.rb,
lib/chatwork/my_task.rb,
lib/chatwork/version.rb,
lib/chatwork/operations.rb,
lib/chatwork/chatwork_error.rb
Defined Under Namespace
Modules: Operations
Classes: APIConnectionError, APIError, ChatWorkError, Client, Entity, Me, Member, Message, MyTask, Room, Task
Constant Summary
collapse
- VERSION =
"0.1.2"
Class Method Summary
collapse
Class Method Details
.api_base ⇒ Object
36
37
38
|
# File 'lib/chatwork.rb', line 36
def api_base
@api_base
end
|
.api_base=(new_value) ⇒ Object
26
27
28
29
|
# File 'lib/chatwork.rb', line 26
def api_base=(new_value)
@api_base = new_value
@client = nil
end
|
.api_key ⇒ Object
40
41
42
|
# File 'lib/chatwork.rb', line 40
def api_key
@api_key
end
|
.api_key=(new_value) ⇒ Object
31
32
33
34
|
# File 'lib/chatwork.rb', line 31
def api_key=(new_value)
@api_key = new_value
@client = nil
end
|
.client ⇒ Object
22
23
24
|
# File 'lib/chatwork.rb', line 22
def client
@client ||= Client.new(@api_key, @api_base, @api_version)
end
|