Module: Refocus

Defined in:
lib/refocus.rb,
lib/refocus/cli.rb,
lib/refocus/http.rb,
lib/refocus/client.rb,
lib/refocus/errors.rb,
lib/refocus/aspects.rb,
lib/refocus/samples.rb,
lib/refocus/version.rb,
lib/refocus/cli/base.rb,
lib/refocus/subjects.rb,
lib/refocus/cli/aspects.rb,
lib/refocus/cli/samples.rb,
lib/refocus/json_helper.rb,
lib/refocus/path_helper.rb,
lib/refocus/cli/subjects.rb,
lib/refocus/perspectives.rb,
lib/refocus/cli/resources.rb,
lib/refocus/samples/collector.rb

Defined Under Namespace

Modules: JsonHelper, PathHelper Classes: ApiError, Aspects, AspectsDeleteCommand, AspectsGetCommand, BaseCommand, Cli, Client, GetSampleCommand, Http, Perspectives, ResourcesSyncCommand, Samples, Subjects, SubjectsDeleteCommand, SubjectsGetCommand

Constant Summary collapse

VERSION =
"0.1.8"

Class Method Summary collapse

Class Method Details

.client(url: ENV.fetch("REFOCUS_URL"), token: ENV.fetch("REFOCUS_API_TOKEN")) ⇒ Object



5
6
7
# File 'lib/refocus.rb', line 5

def self.client(url: ENV.fetch("REFOCUS_URL"), token: ENV.fetch("REFOCUS_API_TOKEN"))
  Client.new(url: url, token: token)
end