Sha256: 488986814072444ed10cfa5af3cf4f03d5930f5f34f7e3216c4cf330067139ee

Contents?: true

Size: 275 Bytes

Versions: 5

Compression:

Stored size: 275 Bytes

Contents

module Cloudfuji
  class EventObserver
    attr_accessor :params

    def self.inherited(klass)
      if Cloudfuji::Platform.on_cloudfuji?
        Cloudfuji::Data.add_observer(klass.new)
      else
      end
    end

    def initialize
      @params ||= {}
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cloudfuji-0.0.45 lib/cloudfuji/event_observer.rb
cloudfuji-0.0.44 lib/cloudfuji/event_observer.rb
cloudfuji-0.0.43 lib/cloudfuji/event_observer.rb
cloudfuji-0.0.42 lib/cloudfuji/event_observer.rb
cloudfuji-0.0.41 lib/cloudfuji/event_observer.rb