Sha256: dc236acb434510320ea726694e0d3b899b6e69ae4fb2cd615cfe6dc4acfca0d2

Contents?: true

Size: 412 Bytes

Versions: 2

Compression:

Stored size: 412 Bytes

Contents

# frozen_string_literal: true

require_relative './paginated_response'
require_relative '../../data_object/product_group'

module ONEAccess
  module Response
    module Representer
      class ProductGroupsResponse < PaginatedResponse
        collection :data,
          as: :Data,
          decorator: DataObject::Representer::ProductGroup,
          class: DataObject::ProductGroup
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oneaccess-1.3.1 lib/oneaccess/response/representer/product_groups_response.rb
oneaccess-1.3.0 lib/oneaccess/response/representer/product_groups_response.rb