Class: Messenger::Parameters::Referral

Inherits:
Object
  • Object
show all
Includes:
Callback
Defined in:
lib/messenger/parameters/referral.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#refObject

Returns the value of attribute ref.



6
7
8
# File 'lib/messenger/parameters/referral.rb', line 6

def ref
  @ref
end

#sourceObject

Returns the value of attribute source.



6
7
8
# File 'lib/messenger/parameters/referral.rb', line 6

def source
  @source
end

#typeObject

Returns the value of attribute type.



6
7
8
# File 'lib/messenger/parameters/referral.rb', line 6

def type
  @type
end