Class: Yoti::DynamicSharingService::Share
- Inherits:
-
Object
- Object
- Yoti::DynamicSharingService::Share
- Defined in:
- lib/yoti/dynamic_share_service/share_url.rb
Instance Attribute Summary collapse
-
#ref_id ⇒ Object
readonly
Returns the value of attribute ref_id.
-
#share_url ⇒ Object
readonly
Returns the value of attribute share_url.
Instance Method Summary collapse
-
#initialize(data) ⇒ Share
constructor
A new instance of Share.
Constructor Details
#initialize(data) ⇒ Share
Returns a new instance of Share.
10 11 12 13 |
# File 'lib/yoti/dynamic_share_service/share_url.rb', line 10 def initialize(data) @share_url = data['qrcode'] @ref_id = data['ref_id'] end |
Instance Attribute Details
#ref_id ⇒ Object (readonly)
Returns the value of attribute ref_id.
8 9 10 |
# File 'lib/yoti/dynamic_share_service/share_url.rb', line 8 def ref_id @ref_id end |
#share_url ⇒ Object (readonly)
Returns the value of attribute share_url.
8 9 10 |
# File 'lib/yoti/dynamic_share_service/share_url.rb', line 8 def share_url @share_url end |