Sha256: 83dbf027fd89385343e32e77f12cff02fe010c86036100469c9153595c2fc243
Contents?: true
Size: 652 Bytes
Versions: 7
Compression:
Stored size: 652 Bytes
Contents
class User < ApplicationRecord include PolicyManager::Concerns::UserBehavior def enabled_for_validation true end def foo_data 30.times.map do |i| OpenStruct.new( :id => i, :country => "Australia", :population => 20_000_000, image: "http://lorempixel.com/400/200/sports/" ) end end def account_data { name: "me", dob: 30.years.ago, image: "https://images.pexels.com/photos/34950/pexels-photo.jpg?auto=compress&cs=tinysrgb&h=650&w=940 1x, https://images.pexels.com/photos/34950/pexels-photo.jpg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940 2x" } end end
Version data entries
7 entries across 7 versions & 1 rubygems