Class: NinjaBlocks::User
- Inherits:
-
Base
- Object
- Base
- NinjaBlocks::User
show all
- Defined in:
- lib/ninja_blocks/user.rb
Instance Method Summary
collapse
Methods inherited from Base
#connection, #delete, #execute, #get, #post, #put, #put_json, #token
Instance Method Details
#info ⇒ Object
3
4
5
|
# File 'lib/ninja_blocks/user.rb', line 3
def info
get('https://api.ninja.is/rest/v0/user')
end
|
#pusher_channel ⇒ Object
11
12
13
|
# File 'lib/ninja_blocks/user.rb', line 11
def pusher_channel
get('https://api.ninja.is/rest/v0/user/pusherchannel')
end
|
#stream ⇒ Object
7
8
9
|
# File 'lib/ninja_blocks/user.rb', line 7
def stream
get('https://api.ninja.is/rest/v0/user/stream')
end
|