Class: Emarsys::Broadcast::Sender
- Inherits:
-
Object
- Object
- Emarsys::Broadcast::Sender
- Defined in:
- lib/emarsys/broadcast/sender.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id, name, address) ⇒ Sender
constructor
A new instance of Sender.
Constructor Details
#initialize(id, name, address) ⇒ Sender
Returns a new instance of Sender.
6 7 8 |
# File 'lib/emarsys/broadcast/sender.rb', line 6 def initialize(id, name, address) @id, @name, @address = id, name, address end |
Instance Attribute Details
#address ⇒ Object (readonly)
Returns the value of attribute address.
4 5 6 |
# File 'lib/emarsys/broadcast/sender.rb', line 4 def address @address end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/emarsys/broadcast/sender.rb', line 4 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/emarsys/broadcast/sender.rb', line 4 def name @name end |