Method: Dnsimple::Client.versioned

Defined in:
lib/dnsimple/client.rb

.versioned(path) ⇒ String

Prepends the correct API version to path.

Returns:

  • (String)

    The versioned path.



36
37
38
# File 'lib/dnsimple/client.rb', line 36

def self.versioned(path)
  File.join(API_VERSION, path)
end