Class: RogIQ::Remote::Clients
- Inherits:
-
CommandBase
- Object
- Thor
- CommandBase
- RogIQ::Remote::Clients
- Defined in:
- lib/rogiq/remote/clients.rb
Instance Method Summary collapse
- #list ⇒ Object
- #onboarding(identifier) ⇒ Object
- #research_status(identifier) ⇒ Object
- #settings(identifier) ⇒ Object
- #show(identifier) ⇒ Object
- #subdomain(identifier) ⇒ Object
Instance Method Details
#list ⇒ Object
11 12 13 14 15 |
# File 'lib/rogiq/remote/clients.rb', line 11 def list q = { limit: [:limit] } q[:search] = [:search] unless [:search].to_s.strip.empty? emit(api.get("/api/v1/cli/clients/list", q)) end |
#onboarding(identifier) ⇒ Object
34 35 36 |
# File 'lib/rogiq/remote/clients.rb', line 34 def onboarding(identifier) emit(api.get("/api/v1/cli/clients/onboarding", { identifier: identifier })) end |
#research_status(identifier) ⇒ Object
24 25 26 |
# File 'lib/rogiq/remote/clients.rb', line 24 def research_status(identifier) emit(api.get("/api/v1/cli/clients/research_status", { identifier: identifier })) end |
#settings(identifier) ⇒ Object
29 30 31 |
# File 'lib/rogiq/remote/clients.rb', line 29 def settings(identifier) emit(api.get("/api/v1/cli/clients/settings", { identifier: identifier })) end |
#show(identifier) ⇒ Object
18 19 20 |
# File 'lib/rogiq/remote/clients.rb', line 18 def show(identifier) emit(api.get("/api/v1/cli/clients/show", { identifier: identifier })) end |
#subdomain(identifier) ⇒ Object
39 40 41 |
# File 'lib/rogiq/remote/clients.rb', line 39 def subdomain(identifier) emit(api.get("/api/v1/cli/clients/subdomain", { identifier: identifier })) end |