Sha256: 2997548ca9a6d9edcff8c2ff0fcc74e4654514e8f08f617b416dd9acb9348bd5

Contents?: true

Size: 244 Bytes

Versions: 12

Compression:

Stored size: 244 Bytes

Contents

require 'intercom/traits/api_resource'

module Intercom
  class Notification
    include Traits::ApiResource

    def model
      data.item
    end

    def model_type
      model.class
    end

    def load
      model.load
    end

  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
cogniteev-intercom-2.5.4 lib/intercom/notification.rb
intercom-2.5.4 lib/intercom/notification.rb
intercom-2.4.4 lib/intercom/notification.rb
intercom-2.4.3 lib/intercom/notification.rb
intercom-2.4.2 lib/intercom/notification.rb
intercom-2.4.1 lib/intercom/notification.rb
intercom-2.4.0 lib/intercom/notification.rb
intercom-2.3.0 lib/intercom/notification.rb
intercom-2.2.4 lib/intercom/notification.rb
intercom-2.2.3 lib/intercom/notification.rb
intercom-2.2.2 lib/intercom/notification.rb
intercom-2.2.1 lib/intercom/notification.rb