Class: Emarsys::Broadcast::Sender

Inherits:
Object
  • Object
show all
Defined in:
lib/emarsys/broadcast/sender.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#addressObject (readonly)

Returns the value of attribute address.



4
5
6
# File 'lib/emarsys/broadcast/sender.rb', line 4

def address
  @address
end

#idObject (readonly)

Returns the value of attribute id.



4
5
6
# File 'lib/emarsys/broadcast/sender.rb', line 4

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/emarsys/broadcast/sender.rb', line 4

def name
  @name
end