Sha256: a80987e8f791e92af5adf6fc9aada735e16df7a811db7ccf378817771480a99d

Contents?: true

Size: 314 Bytes

Versions: 16

Compression:

Stored size: 314 Bytes

Contents

# Class CountResponse represents server response on +count+ Search API
# request. Server response is sent to initializer which creates objects with
# attribute +count+ accessible via getter:
#
#  response = CountResponse.new("count" => 20)
#  response.count  # => 20
#
class CountResponse < Struct.new(:count)
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
threetaps-client-1.0.14 lib/dto/search/count_response.rb
threetaps-client-1.0.13 lib/dto/search/count_response.rb
threetaps-client-1.0.12 lib/dto/search/count_response.rb
threetaps-client-1.0.11 lib/dto/search/count_response.rb
threetaps-client-1.0.10 lib/dto/search/count_response.rb
threetaps-client-1.0.9 lib/dto/search/count_response.rb
threetaps-client-1.0.8 lib/dto/search/count_response.rb
threetaps-client-1.0.7 lib/dto/search/count_response.rb
threetaps-client-1.0.6 lib/dto/search/count_response.rb
threetaps-client-1.0.5 lib/dto/search/count_response.rb
threetaps-client-1.0.4 lib/dto/search/count_response.rb
threetaps-client-1.0.3 lib/dto/search/count_response.rb
threetaps-client-1.0.2 lib/dto/search/count_response.rb
threetaps-client-1.0.1 lib/dto/search/count_response.rb
threetaps-client-1.0.0 lib/dto/search/count_response.rb
threetaps-client-0.5.1 lib/dto/search/count_response.rb