Sha256: 7ab3c44a8b928d90e53459cbad8ee32da6e1023653054dc42514fe576ce3053e

Contents?: true

Size: 458 Bytes

Versions: 2

Compression:

Stored size: 458 Bytes

Contents

# All code in the gem is namespaced under this module.
module CoderWally
  # Stores all CoderWall attributes
  class CoderWall
    # :badges is the collection of user badges
    # :user is the `User` object
    # :accounts is the `Account` object
    attr_reader :badges, :user, :accounts

    # Instantiate the class with data
    def initialize(badges, user, accounts)
      @badges = badges
      @user = user
      @accounts = accounts
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
coder_wally-0.1.2 lib/coder_wally/coder_wall.rb
coder_wally-0.1.1 lib/coder_wally/coder_wall.rb