Sha256: 3cba5febc7d4e96093d9ac4f24cf4c32a31b53d5001d44299ee12e1a1d7517ca

Contents?: true

Size: 498 Bytes

Versions: 13

Compression:

Stored size: 498 Bytes

Contents

module DockHealthApi
  class TaskList < Resource
    extend DockHealthApi::Crud::Create
    extend DockHealthApi::Crud::Delete
    extend DockHealthApi::Crud::Get
    extend DockHealthApi::Crud::Update
    extend DockHealthApi::Crud::List

    def self.resource_url
      "#{client.config.resource_url}/api/#{url_version}/list"
    end

    class User < TaskList
      extend DockHealthApi::Crud::Put

      def self.resource_url
        "#{TaskList.resource_url}/user"
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
dock_health_api-0.5.11 lib/dock_health_api/resources/tasklist.rb
dock_health_api-0.5.10 lib/dock_health_api/resources/tasklist.rb
dock_health_api-0.5.9 lib/dock_health_api/resources/tasklist.rb
dock_health_api-0.5.8 lib/dock_health_api/resources/tasklist.rb
dock_health_api-0.5.7 lib/dock_health_api/resources/tasklist.rb
dock_health_api-0.5.6 lib/dock_health_api/resources/tasklist.rb
dock_health_api-0.5.5 lib/dock_health_api/resources/tasklist.rb
dock_health_api-0.5.4 lib/dock_health_api/resources/tasklist.rb
dock_health_api-0.5.3 lib/dock_health_api/resources/tasklist.rb
dock_health_api-0.5.1 lib/dock_health_api/resources/tasklist.rb
dock_health_api-0.4.1 lib/dock_health_api/resources/tasklist.rb
dock_health_api-0.4.0 lib/dock_health_api/resources/tasklist.rb
dock_health_api-0.3.6 lib/dock_health_api/resources/tasklist.rb