Sha256: 01f7d29ddb034a43dd570ba774226f889d6bff7fc6b245e9087c53236c1aece0

Contents?: true

Size: 242 Bytes

Versions: 11

Compression:

Stored size: 242 Bytes

Contents

# frozen_string_literal: true

module TableSync::Publishing::Message
  class Single < Base
    def object
      objects.first
    end

    def params
      TableSync::Publishing::Params::Single.new(object: object).construct
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
table_sync-6.5.1 lib/table_sync/publishing/message/single.rb
table_sync-6.5.0 lib/table_sync/publishing/message/single.rb
table_sync-6.4.2 lib/table_sync/publishing/message/single.rb
table_sync-6.4.1 lib/table_sync/publishing/message/single.rb
table_sync-6.4.0 lib/table_sync/publishing/message/single.rb
table_sync-6.3.0 lib/table_sync/publishing/message/single.rb
table_sync-6.1.0 lib/table_sync/publishing/message/single.rb
table_sync-6.0.4 lib/table_sync/publishing/message/single.rb
table_sync-6.0.3 lib/table_sync/publishing/message/single.rb
table_sync-6.0.2 lib/table_sync/publishing/message/single.rb
table_sync-6.0 lib/table_sync/publishing/message/single.rb