Module: Delphix::ClassMethods

Defined in:
lib/delphix/web_client.rb

Instance Method Summary collapse

Instance Method Details

#endpoint(value = nil) ⇒ Object

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

Examples:

Setting a string endpoint endpoint ‘/resources/json/delphix’


Unsetting the string endpoint endpoint nil


Parameters:

  • value (String, nil) (defaults to: nil)

    the endpoint to use.



160
161
162
# File 'lib/delphix/web_client.rb', line 160

def endpoint(value = nil)
  define_method(:endpoint) { value }
end