Sha256: 0d1c4f401ec0ad7080cba4d13a5b7552ec46973fa6c3e74fdcd43d98fb6ded00

Contents?: true

Size: 384 Bytes

Versions: 5

Compression:

Stored size: 384 Bytes

Contents

# DO NOT EDIT: File is generated by code generator.

require "pokepay_partner_ruby_sdk/response/pagination"

module Pokepay::Response
  class PaginatedCampaigns
    def initialize(row)
      @rows = row["rows"]
      @count = row["count"]
      @pagination = Pagination.new(row["pagination"])
    end
    attr_reader :rows
    attr_reader :count
    attr_reader :pagination
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pokepay_partner_ruby_sdk-0.3.2 lib/pokepay_partner_ruby_sdk/response/paginated_campaigns.rb
pokepay_partner_ruby_sdk-0.3.1 lib/pokepay_partner_ruby_sdk/response/paginated_campaigns.rb
pokepay_partner_ruby_sdk-0.3.0 lib/pokepay_partner_ruby_sdk/response/paginated_campaigns.rb
pokepay_partner_ruby_sdk-0.2.0 lib/pokepay_partner_ruby_sdk/response/paginated_campaigns.rb
pokepay_partner_ruby_sdk-0.1.19 lib/pokepay_partner_ruby_sdk/response/paginated_campaigns.rb