Sha256: af25cf02af7b7c2e66143093313155eb1d2efce93d38eef84c25ad4a4a24881b

Contents?: true

Size: 212 Bytes

Versions: 1

Compression:

Stored size: 212 Bytes

Contents

require_relative "client"
require_relative "object"

module Mergent
  class Task < Mergent::Object
    def self.create(params = {})
      object = Client.post("tasks", params)
      new(object)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mergent-0.1.0 lib/mergent/task.rb