Sha256: 3d5731f4d18ec81b654746a2b4ff2a4317e53bf65a3ca2dc4ba09c048e8ed754
Contents?: true
Size: 316 Bytes
Versions: 3
Compression:
Stored size: 316 Bytes
Contents
module GoogleClient class Profile attr_accessor :email attr_accessor :external_id def initialize(params ={}) @email = params[:email] @external_id = params[:external_id] end def to_s "#{self.class.name} => { email: #{@email}, external_id: #{@external_id} }" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
google_client-0.2.1 | lib/google_client/profile.rb |
google_client-0.2.0 | lib/google_client/profile.rb |
google_client-0.1.0 | lib/google_client/profile.rb |