Sha256: 65c5cc682d650fd5418662afd11d4ec4113f8a890efcfe550ba2fe83d9291bc7

Contents?: true

Size: 197 Bytes

Versions: 4

Compression:

Stored size: 197 Bytes

Contents

class CongressV3::Response
  attr_reader :results, :count, :page
  def initialize(response)
    @results = response['results']
    @count = response['count']
    @page = response['page']
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
congress_v3-0.2.0 lib/congress_v3/response.rb
congress_v3-0.1.2 lib/congress_v3/response.rb
congress_v3-0.1.1 lib/congress_v3/response.rb
congress_v3-0.1.0 lib/congress_v3/response.rb