Class: Identisure::Ftn::Pending
- Inherits:
-
Object
- Object
- Identisure::Ftn::Pending
- Defined in:
- lib/identisure/ftn.rb
Overview
--- Status variants ---
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#ref_id ⇒ Object
readonly
Returns the value of attribute ref_id.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Class Method Summary collapse
Instance Method Summary collapse
- #deconstruct_keys(_) ⇒ Object
-
#initialize(id:, url:, ref_id: nil) ⇒ Pending
constructor
A new instance of Pending.
Constructor Details
#initialize(id:, url:, ref_id: nil) ⇒ Pending
Returns a new instance of Pending.
35 36 37 |
# File 'lib/identisure/ftn.rb', line 35 def initialize(id:, url:, ref_id: nil) @id = id; @ref_id = ref_id; @url = url end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
33 34 35 |
# File 'lib/identisure/ftn.rb', line 33 def id @id end |
#ref_id ⇒ Object (readonly)
Returns the value of attribute ref_id.
33 34 35 |
# File 'lib/identisure/ftn.rb', line 33 def ref_id @ref_id end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
33 34 35 |
# File 'lib/identisure/ftn.rb', line 33 def url @url end |
Class Method Details
.from_json(d) ⇒ Object
41 |
# File 'lib/identisure/ftn.rb', line 41 def self.from_json(d) = new(id: d['id'], ref_id: d['refId'], url: d['url']) |
Instance Method Details
#deconstruct_keys(_) ⇒ Object
39 |
# File 'lib/identisure/ftn.rb', line 39 def deconstruct_keys(_) = { id: @id, ref_id: @ref_id, url: @url } |