Sha256: 7820c83b80a8cb268e6a37b6e855667b74087831f7c6fc2105c2e47b4f324455
Contents?: true
Size: 532 Bytes
Versions: 4
Compression:
Stored size: 532 Bytes
Contents
require 'aptible/auth' module Aptible module Api class Operation < Resource belongs_to :resource field :id field :type field :status field :git_ref field :docker_ref field :env field :container_count field :disk_size field :command field :created_at, type: Time field :updated_at, type: Time def user auth = Aptible::Auth::User.new(token: token, headers: headers) auth.find_by_url(links['user'].href) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems