Class: Messenger::Parameters::Referral
- Inherits:
-
Object
- Object
- Messenger::Parameters::Referral
- Includes:
- Callback
- Defined in:
- lib/messenger/parameters/referral.rb
Instance Attribute Summary collapse
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#source ⇒ Object
Returns the value of attribute source.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(ref:, source:, type:) ⇒ Referral
constructor
A new instance of Referral.
Constructor Details
#initialize(ref:, source:, type:) ⇒ Referral
Returns a new instance of Referral.
8 9 10 11 12 |
# File 'lib/messenger/parameters/referral.rb', line 8 def initialize(ref:, source:, type:) @ref = ref @source = source @type = type end |
Instance Attribute Details
#ref ⇒ Object
Returns the value of attribute ref.
6 7 8 |
# File 'lib/messenger/parameters/referral.rb', line 6 def ref @ref end |
#source ⇒ Object
Returns the value of attribute source.
6 7 8 |
# File 'lib/messenger/parameters/referral.rb', line 6 def source @source end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/messenger/parameters/referral.rb', line 6 def type @type end |