Sha256: 1351508a5645e30840807978d25eea103222097330d45cb5b08bf22f559e99d2

Contents?: true

Size: 455 Bytes

Versions: 1

Compression:

Stored size: 455 Bytes

Contents

class PresenterProfile
  attr_reader :name, :bio, :twitter, :company, :url, :shirt_size, :email, :location, :avatar

  def initialize(json_hash = {})
    @name = json_hash[:name]
    @bio = json_hash[:bio]
    @twitter = json_hash[:twitter]
    @company = json_hash[:company]
    @url = json_hash[:url]
    @shirt_size = json_hash[:shirt_size]
    @email = json_hash[:email]
    @location = json_hash[:location]
    @avatar = json_hash[:avatar]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
papercall-1.0.0 lib/papercall/models/presenter_profile.rb