Sha256: 1f83a29d5ca7f9e67d5426d7e18af5c9bd4c554ee36320b0b429048aeebf0ed9

Contents?: true

Size: 323 Bytes

Versions: 12

Compression:

Stored size: 323 Bytes

Contents

require 'fog/core/collection'
require 'fog/brightbox/models/compute/event'

module Fog
  module Compute
    class Brightbox

      class Events < Fog::Collection

        model Fog::Compute::Brightbox::Event

        def all
          data = service.list_events
          load(data)
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fog-brightbox-0.6.1 lib/fog/brightbox/models/compute/events.rb
fog-brightbox-0.6.0 lib/fog/brightbox/models/compute/events.rb
fog-brightbox-0.5.1 lib/fog/brightbox/models/compute/events.rb
fog-brightbox-0.5.0 lib/fog/brightbox/models/compute/events.rb
fog-brightbox-0.4.1 lib/fog/brightbox/models/compute/events.rb
fog-brightbox-0.4.0 lib/fog/brightbox/models/compute/events.rb
fog-brightbox-0.3.0 lib/fog/brightbox/models/compute/events.rb
fog-brightbox-0.2.0 lib/fog/brightbox/models/compute/events.rb
fog-brightbox-0.1.1 lib/fog/brightbox/models/compute/events.rb
fog-brightbox-0.1.0 lib/fog/brightbox/models/compute/events.rb
fog-brightbox-0.1.0.dev2 lib/fog/brightbox/models/compute/events.rb
fog-brightbox-0.1.0.dev1 lib/fog/brightbox/models/compute/events.rb