Sha256: 108ae464eb09c3644552929fbbc1dc7e08b4b536dd7b6c5e43a25f16edd7ee49
Contents?: true
Size: 250 Bytes
Versions: 1
Compression:
Stored size: 250 Bytes
Contents
module HomePage class PaginationMetadata attr_accessor :current_page, :per_page, :total_entries, :total_pages def initialize(attributes) attributes.each{|k,v| self.send("#{k}=", v) if self.respond_to?("#{k}=") } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
home_page-0.0.6 | lib/home_page/pagination_metadata.rb |