Class: Puree::REST::Activity

Inherits:
Base
  • Object
show all
Defined in:
lib/puree/rest/activity.rb

Overview

Requests for the Activity resource

Instance Method Summary collapse

Methods inherited from Base

#all, #find, #orderings, #renderings

Constructor Details

#initialize(config) ⇒ Activity

Returns a new instance of Activity.

Parameters:

  • config (Hash)

    a customizable set of options

Options Hash (config):

  • :url (String)

    URL of the Pure host

  • :username (String)

    Username of the Pure host account

  • :password (String)

    Password of the Pure host account

  • :api_key (String)

    API key of the Pure host account



10
11
12
# File 'lib/puree/rest/activity.rb', line 10

def initialize(config)
  super
end