Class: Red5::Root
- Inherits:
-
Object
- Object
- Red5::Root
- Defined in:
- lib/red_5/root.rb
Class Method Summary collapse
Class Method Details
.all ⇒ Object
3 4 5 6 |
# File 'lib/red_5/root.rb', line 3 def self.all resource = RestClient::Resource.new "http://swapi.co/api/" JSON.parse resource.get.body end |