Sha256: f68c2468a6f1b92d9420234d9baff8a689cff9e184df3bb6e9a9315d4d659149
Contents?: true
Size: 659 Bytes
Versions: 51
Compression:
Stored size: 659 Bytes
Contents
require 'fog/core/collection' require 'fog/storm_on_demand/models/compute/notification' module Fog module Compute class StormOnDemand class Notifications < Fog::Collection model Fog::Compute::StormOnDemand::Notification def all(options={}) data = service.list_notifications(options).body['items'] load(data) end def current(options={}) data = service.current_notifications(options).body['items'] load(data) end def get(options) data = service.get_notification(options).body new(data) end end end end end
Version data entries
51 entries across 51 versions & 3 rubygems