Class: LabClient::Appearances

Inherits:
Common
  • Object
show all
Defined in:
lib/labclient/appearance/show.rb,
lib/labclient/appearance/update.rb

Overview

Specifics

Constant Summary

Constants included from AccessLevel

LabClient::AccessLevel::HUMAN_ACCESS_LEVELS, LabClient::AccessLevel::MACHINE_ACCESS_LEVELS

Instance Attribute Summary

Attributes inherited from Common

#client

Instance Method Summary collapse

Methods inherited from Common

#api_methods, #api_methods_help, #format_id, #format_query_id, #format_query_ids, #format_time?, #group_name, #help, #initialize, #inspect, #klass, #protected_query_access_level, #query_access_level, #query_format_time

Methods included from Docs

#demo, #desc, #doc, docs, #example, #group_name, #help, json, #markdown, #navigation, #option, #result, #subtitle, #title

Methods included from AccessLevel

#human_access_level, #human_protected_access_level, #machine_access_level, #machine_protected_access_level

Constructor Details

This class inherits a constructor from LabClient::Common

Instance Method Details

#showObject



15
16
17
# File 'lib/labclient/appearance/show.rb', line 15

def show
  client.request(:get, 'application/appearance', Appearance)
end

#update(query = {}) ⇒ Object



33
34
35
# File 'lib/labclient/appearance/update.rb', line 33

def update(query = {})
  client.request(:put, 'application/appearance', Appearance, query)
end