Class: Figo::User
Overview
Object representing an User
Instance Attribute Summary collapse
-
#address ⇒ Dict
Postal address for bills, etc.
-
#email ⇒ String
Email address.
-
#join_date ⇒ DateTime
Timestamp of figo Account registration.
-
#language ⇒ String
Two-letter code of preferred language.
-
#name ⇒ String
First and last name.
-
#premium ⇒ Boolean
This flag indicates whether the figo Account plan is free or premium.
-
#premium_expires_on ⇒ DateTime
Timestamp of premium figo Account expiry.
-
#premium_subscription ⇒ String
Provider for premium subscription or Null of no subscription is active.
-
#send_newsletter ⇒ Boolean
This flag indicates whether the User has agreed to be contacted by email.
-
#User_id ⇒ String
Internal figo Connect User ID.
-
#verified_email ⇒ Boolean
This flag indicates whether the email address has been verified.
Method Summary
Methods inherited from Base
#dump, dump_attributes, #initialize
Constructor Details
This class inherits a constructor from Figo::Base
Instance Attribute Details
#address ⇒ Dict
Postal address for bills, etc.
98 99 100 |
# File 'lib/models.rb', line 98 def address @address end |
#email ⇒ String
Email address
94 95 96 |
# File 'lib/models.rb', line 94 def email @email end |
#join_date ⇒ DateTime
Timestamp of figo Account registration
126 127 128 |
# File 'lib/models.rb', line 126 def join_date @join_date end |
#language ⇒ String
Two-letter code of preferred language
110 111 112 |
# File 'lib/models.rb', line 110 def language @language end |
#name ⇒ String
First and last name
90 91 92 |
# File 'lib/models.rb', line 90 def name @name end |
#premium ⇒ Boolean
This flag indicates whether the figo Account plan is free or premium
114 115 116 |
# File 'lib/models.rb', line 114 def premium @premium end |
#premium_expires_on ⇒ DateTime
Timestamp of premium figo Account expiry
118 119 120 |
# File 'lib/models.rb', line 118 def premium_expires_on @premium_expires_on end |
#premium_subscription ⇒ String
Provider for premium subscription or Null of no subscription is active
122 123 124 |
# File 'lib/models.rb', line 122 def premium_subscription @premium_subscription end |
#send_newsletter ⇒ Boolean
This flag indicates whether the User has agreed to be contacted by email
106 107 108 |
# File 'lib/models.rb', line 106 def end |
#User_id ⇒ String
Internal figo Connect User ID
86 87 88 |
# File 'lib/models.rb', line 86 def User_id @User_id end |
#verified_email ⇒ Boolean
This flag indicates whether the email address has been verified
102 103 104 |
# File 'lib/models.rb', line 102 def verified_email @verified_email end |