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

Version Path
woople-theme-0.8.1 spec/dummy/app/models/profile_links.rb
woople-theme-0.8.0 spec/dummy/app/models/profile_links.rb
woople-theme-0.6.27 spec/dummy/app/models/profile_links.rb
woople-theme-0.6.26 spec/dummy/app/models/profile_links.rb
woople-theme-0.6.25 spec/dummy/app/models/profile_links.rb
woople-theme-0.6.24 spec/dummy/app/models/profile_links.rb
woople-theme-0.6.23 spec/dummy/app/models/profile_links.rb
woople-theme-0.6.22 spec/dummy/app/models/profile_links.rb
woople-theme-0.6.21 spec/dummy/app/models/profile_links.rb
woople-theme-0.6.20 spec/dummy/app/models/profile_links.rb
woople-theme-0.6.19 spec/dummy/app/models/profile_links.rb
woople-theme-0.6.18 spec/dummy/app/models/profile_links.rb
woople-theme-0.6.17 spec/dummy/app/models/profile_links.rb
woople-theme-0.6.14 spec/dummy/app/models/profile_links.rb
woople-theme-0.6.13 spec/dummy/app/models/profile_links.rb
woople-theme-0.6.12 spec/dummy/app/models/profile_links.rb