Class: Dribble::API::Shot
Class Method Summary collapse
-
.debuts(options = {}) ⇒ Array
Debuts.
-
.everyones(options = {}) ⇒ Array
(also: everyone)
Everyones.
-
.following(id, options = {}) ⇒ Hash
Following.
-
.for(id) ⇒ Hash
By ID.
-
.popular(options = {}) ⇒ Array
Popular.
Class Method Details
.debuts(options = {}) ⇒ Array
Debuts
57 58 59 |
# File 'lib/dribble/api/shot.rb', line 57 def debuts(={}) Dribble::Request.get("/shots/debuts", ()) end |
.everyones(options = {}) ⇒ Array Also known as: everyone
Everyones
42 43 44 |
# File 'lib/dribble/api/shot.rb', line 42 def everyones(={}) Dribble::Request.get("/shots/everyone", ()) end |
.following(id, options = {}) ⇒ Hash
Following
28 29 30 |
# File 'lib/dribble/api/shot.rb', line 28 def following(id, ={}) Dribble::Request.get("/players/#{id}/shots/following", ()) end |