class Holistics::Transform

Public Instance Methods

api_client() click to toggle source
# File lib/transform.rb, line 7
def api_client
  @api_client ||= ApiClient.new
end
list() click to toggle source
# File lib/transform.rb, line 25
def list
  api_client.transform_list
end
transform() click to toggle source
# File lib/transform.rb, line 15
def transform
  unless options['transform_id']
    puts "Please include a tranform job ID to execute. Usage: 'holistics transform --transform-id <id>'."
    exit 1
  end
  api_client.send_transform(options.dup)
end