Module: Vinegar::Client::Root

Included in:
Vinegar::Client
Defined in:
lib/vinegar/client/root.rb

Overview

Root level tasks for Rotten Tomatoes API

Instance Method Summary collapse

Instance Method Details

#root(options = {}) ⇒ Object

Returns the root of the api

Examples:

Return the root of the api

@client.root

Returns:

  • api root

See Also:

Author:

  • Jason Truluck



18
19
20
# File 'lib/vinegar/client/root.rb', line 18

def root(options = {})
  get("", options)
end