class Devpad::API::Account
Public Class Methods
all()
click to toggle source
# File lib/devpad/api/account.rb, line 4 def self.all @response = Devpad::API::Client.get('/accounts') @response['data'].map do |item| new(item['attributes'].merge('id' => item['id'])) end end