Class: Yoti::ApplicationProfile
- Inherits:
-
BaseProfile
- Object
- BaseProfile
- Yoti::ApplicationProfile
- Defined in:
- lib/yoti/data_type/application_profile.rb
Overview
Profile of an application with convenience methods to access well-known attributes.
Instance Attribute Summary
Attributes inherited from BaseProfile
Instance Method Summary collapse
-
#logo ⇒ Attribute?
The logo of the application that will be displayed to users that perform a share with it.
-
#name ⇒ Attribute?
The name of the application.
-
#receipt_bgcolor ⇒ Attribute?
The background color that will be displayed on each receipt the user gets, as a result of a share with the application.
-
#url ⇒ Attribute?
The URL where the application is available at.
Methods inherited from BaseProfile
Constructor Details
This class inherits a constructor from Yoti::BaseProfile
Instance Method Details
#logo ⇒ Attribute?
The logo of the application that will be displayed to users that perform a share with it.
29 30 31 |
# File 'lib/yoti/data_type/application_profile.rb', line 29 def logo get_attribute(Yoti::Attribute::APPLICATION_LOGO) end |
#name ⇒ Attribute?
The name of the application.
11 12 13 |
# File 'lib/yoti/data_type/application_profile.rb', line 11 def name get_attribute(Yoti::Attribute::APPLICATION_NAME) end |
#receipt_bgcolor ⇒ Attribute?
The background color that will be displayed on each receipt the user gets, as a result of a share with the application.
39 40 41 |
# File 'lib/yoti/data_type/application_profile.rb', line 39 def receipt_bgcolor get_attribute(Yoti::Attribute::APPLICATION_RECEIPT_BGCOLOR) end |
#url ⇒ Attribute?
The URL where the application is available at.
20 21 22 |
# File 'lib/yoti/data_type/application_profile.rb', line 20 def url get_attribute(Yoti::Attribute::APPLICATION_URL) end |