Method: ZAWS::Sumoapi#client
- Defined in:
- lib/zaws/external/sumoapi/sumoapi.rb
#client ⇒ Object
39 40 41 42 43 |
# File 'lib/zaws/external/sumoapi/sumoapi.rb', line 39 def client fail("Home is null! Make sure its set before getting the client.") if @home== nil creds = ZAWS::Sumoapi::SumoCreds::Creds::YamlFile.new(@home) @_client ||= (ZAWS::Sumoapi::SumoClient.new(creds)) end |