module SolveBio::APIOperations::Help

Attributes

have_launchy[R]

Public Class Methods

included(base) click to toggle source
# File lib/solvebio/api_operations.rb, line 79
def self.included base
    base.send :include, InstanceMethods
end

Public Instance Methods

open_help(path) click to toggle source
# File lib/solvebio/api_operations.rb, line 89
def open_help(path)
    url = URI::join('https://www.solvebio.com/', path)
    if @@have_launchy
        Launchy.open(url)
    else
        puts('The SolveBio Ruby client needs the "launchy" gem to ' +
             "open help url: #{url.to_s}")
    end
end