Class: Yoti::DynamicSharingService::Share

Inherits:
Object
  • Object
show all
Defined in:
lib/yoti/dynamic_share_service/share_url.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject (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_urlObject (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