Sha256: 1eb2abbe407cef739e2a6e05a9ac46d58d6577dc0d9f82c72eddb8a00ff8a7c3

Contents?: true

Size: 289 Bytes

Versions: 77

Compression:

Stored size: 289 Bytes

Contents

##
# Define a generic message with options that behaves like a protobuf search response
#
class MessageWithOptions
  attr_accessor :records, :options

  def initialize(attributes = {})
    @records = attributes.fetch(:records, nil)
    @options = attributes.fetch(:options, nil)
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
active_remote-2.3.1 spec/support/models/message_with_options.rb
active_remote-2.3.0 spec/support/models/message_with_options.rb
active_remote-2.2.0 spec/support/models/message_with_options.rb
active_remote-2.1.1 spec/support/models/message_with_options.rb
active_remote-2.1.0 spec/support/models/message_with_options.rb
active_remote-2.1.0.rc2 spec/support/models/message_with_options.rb
active_remote-2.1.0.rc1 spec/support/models/message_with_options.rb
active_remote-2.1.0.beta2 spec/support/models/message_with_options.rb
active_remote-2.1.0.beta1 spec/support/models/message_with_options.rb
active_remote-2.0.2 spec/support/models/message_with_options.rb
active_remote-2.0.1 spec/support/models/message_with_options.rb
active_remote-2.0.0 spec/support/models/message_with_options.rb
active_remote-2.0.0.rc2 spec/support/models/message_with_options.rb
active_remote-2.0.0.rc1 spec/support/models/message_with_options.rb
active_remote-1.8.1 spec/support/models/message_with_options.rb
active_remote-1.8.0 spec/support/models/message_with_options.rb
active_remote-1.8.0.rc1 spec/support/models/message_with_options.rb
active_remote-1.7.1 spec/support/models/message_with_options.rb
active_remote-1.7.0 spec/support/models/message_with_options.rb
active_remote-1.6.1 spec/support/models/message_with_options.rb