Sha256: bfe71612ffebba82df9518526e5ec2ee5cf9bfab9217bf1fac54ff043fa34b7f

Contents?: true

Size: 247 Bytes

Versions: 2

Compression:

Stored size: 247 Bytes

Contents

class Foxynews::Paging

  def initialize(args)
    if args.is_a? Hash
      args.each do |name, value|
        instance_variable_set("@#{name}", value)
        self.class.send(:attr_accessor, name)
      end
    else
      false
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foxynews-1.0.1 app/services/foxynews/paging.rb
foxynews-1.0.0 app/services/foxynews/paging.rb