Class: Mico::Member
- Inherits:
-
Object
- Object
- Mico::Member
- Defined in:
- lib/mico.rb
Constant Summary collapse
- URL =
"http://meurio.org.br/members.json"
Class Method Summary collapse
Class Method Details
.all(options = {}) ⇒ Object
8 9 10 |
# File 'lib/mico.rb', line 8 def self.all = {} JSON.parse(HTTParty.get(URL, :query => {:token => ENV["MEURIO_TOKEN"]}.merge()).body) end |