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-4.2.1 lib/intercom/service/event.rb
intercom-4.2.0 lib/intercom/service/event.rb
intercom-4.1.3 lib/intercom/service/event.rb
intercom-4.1.2 lib/intercom/service/event.rb
intercom-4.1.1 lib/intercom/service/event.rb
intercom-4.1.0 lib/intercom/service/event.rb
intercom-4.0.1 lib/intercom/service/event.rb
intercom-4.0.0 lib/intercom/service/event.rb
intercom-3.9.5 lib/intercom/service/event.rb
intercom-3.9.4 lib/intercom/service/event.rb
intercom-3.9.3 lib/intercom/service/event.rb
intercom-3.9.2 lib/intercom/service/event.rb
intercom-3.9.0 lib/intercom/service/event.rb
intercom-3.8.1 lib/intercom/service/event.rb
intercom-3.8.0 lib/intercom/service/event.rb
intercom-3.7.7 lib/intercom/service/event.rb
intercom-3.7.6 lib/intercom/service/event.rb
intercom-3.7.5 lib/intercom/service/event.rb
intercom-3.7.4 lib/intercom/service/event.rb
intercom-3.7.3 lib/intercom/service/event.rb