Sha256: ba471625f617dd2fa019482648fd5d11beb06679fee9c4cb60e91c0afe52254d

Contents?: true

Size: 654 Bytes

Versions: 40

Compression:

Stored size: 654 Bytes

Contents

require 'intercom/client_collection_proxy'
require 'intercom/service/base_service'
require 'intercom/api_operations/save'
require 'intercom/api_operations/bulk/submit'

module Intercom
  class EventCollectionProxy < ClientCollectionProxy

    def paging_info_present?(response_hash)
      !!(response_hash['pages'])
    end
  end

  module Service
    class Event < BaseService
      include ApiOperations::FindAll
      include ApiOperations::Save
      include ApiOperations::Bulk::Submit

      def collection_class
        Intercom::Event
      end

      def collection_proxy_class
        Intercom::EventCollectionProxy
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
intercom-3.7.2 lib/intercom/service/event.rb
intercom-3.7.1 lib/intercom/service/event.rb
intercom-3.7.0 lib/intercom/service/event.rb
intercom-3.6.2 lib/intercom/service/event.rb
intercom-3.6.1 lib/intercom/service/event.rb
intercom-3.6.0 lib/intercom/service/event.rb
intercom-3.5.26 lib/intercom/service/event.rb
intercom-3.5.25 lib/intercom/service/event.rb
intercom-3.5.24 lib/intercom/service/event.rb
intercom-3.5.23 lib/intercom/service/event.rb
intercom-3.5.22 lib/intercom/service/event.rb
intercom-3.5.21 lib/intercom/service/event.rb
intercom-3.5.20 lib/intercom/service/event.rb
intercom-3.5.19 lib/intercom/service/event.rb
intercom-3.5.17 lib/intercom/service/event.rb
intercom-3.5.16 lib/intercom/service/event.rb
intercom-3.5.15 lib/intercom/service/event.rb
intercom-3.5.14 lib/intercom/service/event.rb
intercom-3.5.12 lib/intercom/service/event.rb
intercom-3.5.11 lib/intercom/service/event.rb