Class: Challonge::API
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- Challonge::API
show all
- Defined in:
- lib/challonge/api.rb
Class Method Summary
collapse
Class Method Details
.key ⇒ Object
22
23
24
|
# File 'lib/challonge/api.rb', line 22
def self.key
self.password
end
|
.key=(key) ⇒ Object
18
19
20
|
# File 'lib/challonge/api.rb', line 18
def self.key=(key)
self.password = key
end
|
.username ⇒ Object
14
15
16
|
# File 'lib/challonge/api.rb', line 14
def self.username
self.user
end
|
.username=(uname) ⇒ Object
10
11
12
|
# File 'lib/challonge/api.rb', line 10
def self.username=(uname)
self.user = uname
end
|