Sha256: 5fdf6d3ca04a7d2f014bfb0f9cc92dc027dbb85d38ebb80b50a089a6c360fbb9
Contents?: true
Size: 630 Bytes
Versions: 1
Compression:
Stored size: 630 Bytes
Contents
module Trigga module AdminApiClient module Proxies module Admin def self.included(base) base.send("extend",self) end def get_stats( opts = {}) Trigga::AdminApiClient.make_call "admin", "stats", opts end def get_clients(opts = {}) Trigga::AdminApiClient.make_call "admin", "clients", opts end def get_client(opts = {}) require_param(opts, :client_id) Trigga::AdminApiClient.make_call "admin", "clients/#{opts[:client_id]}", opts end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
itrigga-admin_api_client-0.1.2 | lib/trigga/admin_api_client/proxies/admin.rb |