module ClassMethods

Class level methods to let you configure your api client.

Public Instance Methods

endpoint(value = nil) click to toggle source

When present, lets you specify the api for the given client.

@param [String, nil] value the endpoint to use. @example Setting a string endpoint endpoint ‘/resources/json/delphix’ @example Unsetting the string endpoint endpoint nil

# File lib/croesus/web_client/web_client.rb, line 149
def endpoint(value = nil)
  define_method(:endpoint) { value }
end