Sha256: dd2e33ea1f62e192ba82a08c5aa4cf1f5c3de1bb27b88845869ab689ee636a1d

Contents?: true

Size: 473 Bytes

Versions: 2

Compression:

Stored size: 473 Bytes

Contents

# frozen_string_literal: true

require_relative "./representer/companies_representer"

module ONEAccess
  module Response
    class CompaniesResponse
      extend Serializable

      represented_by Representer::CompaniesResponse

      attr_accessor :api_status_code
      attr_accessor :total_count
      attr_accessor :has_more_records
      attr_accessor :data

      alias has_more_records? has_more_records
      alias more_records? has_more_records
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oneaccess-0.1.3 lib/oneaccess/response/companies_response.rb
oneaccess-0.1.2 lib/oneaccess/response/companies_response.rb