Sha256: 714dd11d2604dd41b238b4295f446a0c3ff86d3488345794a70fb4fc53a524bc
Contents?: true
Size: 611 Bytes
Versions: 36
Compression:
Stored size: 611 Bytes
Contents
class ProfileLinks def self.generate { image: image, sections: sections } end def self.image nil # or provide your own default end def self.sections [ [{ name: 'Account Settings', url: '#' }], [ { name: 'Help', url: '#' }, { name: 'Blog', url: '#' }, { name: 'Twitter', url: '#' }, { name: 'Feature Requests', url: '#' } ], [ { name: 'Security', url: '#' }, { name: 'Terms of Service', url: '#' }, { name: 'Privacy', url: '#' } ], [{ name: 'Log out', url: '#' }] ] end end
Version data entries
36 entries across 36 versions & 1 rubygems