class Yoti::ApplicationProfile
Profile
of an application with convenience methods to access well-known attributes.
Public Instance Methods
logo()
click to toggle source
The logo of the application that will be displayed to users that perform a share with it.
@return [Attribute, nil]
# File lib/yoti/data_type/application_profile.rb, line 29 def logo get_attribute(Yoti::Attribute::APPLICATION_LOGO) end
name()
click to toggle source
The name of the application.
@return [Attribute, nil]
# File lib/yoti/data_type/application_profile.rb, line 11 def name get_attribute(Yoti::Attribute::APPLICATION_NAME) end
receipt_bgcolor()
click to toggle source
The background color that will be displayed on each receipt the user gets, as a result of a share with the application.
@return [Attribute, nil]
# File lib/yoti/data_type/application_profile.rb, line 39 def receipt_bgcolor get_attribute(Yoti::Attribute::APPLICATION_RECEIPT_BGCOLOR) end
url()
click to toggle source
The URL where the application is available at.
@return [Attribute, nil]
# File lib/yoti/data_type/application_profile.rb, line 20 def url get_attribute(Yoti::Attribute::APPLICATION_URL) end