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
20
21
22
|
# File 'lib/challonge/api.rb', line 20
def self.key
self.password
end
|
.key=(key) ⇒ Object
16
17
18
|
# File 'lib/challonge/api.rb', line 16
def self.key=(key)
self.password = key
end
|
.username ⇒ Object
12
13
14
|
# File 'lib/challonge/api.rb', line 12
def self.username
self.user
end
|
.username=(uname) ⇒ Object
8
9
10
|
# File 'lib/challonge/api.rb', line 8
def self.username=(uname)
self.user = uname
end
|