class BERGCloud::Event

Attributes

event_id[R]

Public Class Methods

new(event_id) click to toggle source
# File lib/bergcloud/event.rb, line 6
def initialize(event_id)
  @event_id = event_id
end

Public Instance Methods

info() click to toggle source
# File lib/bergcloud/event.rb, line 10
def info
  BERGCloud::Client.get("/commands/#{@event_id}").body || {}
end