Sha256: ac5b00e01437fc1e0a59c28088f9687de57597bda14fefe74eec97c66d6203ea

Contents?: true

Size: 475 Bytes

Versions: 2

Compression:

Stored size: 475 Bytes

Contents

require 'fog/core/model'

module Fog
  module Compute
    class Brightbox

      class Event < Fog::Model

        identity :id
        attribute :url
        attribute :resource_type

        attribute :action
        attribute :message
        attribute :short_message

        # Times
        attribute :created_at, :type => :time

        # Links - to be replaced
        attribute :resource
        attribute :client
        attribute :user

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-brightbox-0.1.0.dev2 lib/fog/brightbox/models/compute/event.rb
fog-brightbox-0.1.0.dev1 lib/fog/brightbox/models/compute/event.rb