Class: MessageBird::Message

Inherits:
Base
  • Object
show all
Defined in:
lib/messagebird/message.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize, #map_hash_elements_to_self, #value_to_time

Constructor Details

This class inherits a constructor from MessageBird::Base

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



8
9
10
# File 'lib/messagebird/message.rb', line 8

def body
  @body
end

#created_datetimeObject

Returns the value of attribute created_datetime.



10
11
12
# File 'lib/messagebird/message.rb', line 10

def created_datetime
  @created_datetime
end

#datacodingObject

Returns the value of attribute datacoding.



8
9
10
# File 'lib/messagebird/message.rb', line 8

def datacoding
  @datacoding
end

#directionObject

Returns the value of attribute direction.



8
9
10
# File 'lib/messagebird/message.rb', line 8

def direction
  @direction
end

#gatewayObject

Returns the value of attribute gateway.



8
9
10
# File 'lib/messagebird/message.rb', line 8

def gateway
  @gateway
end

#hrefObject

Returns the value of attribute href.



8
9
10
# File 'lib/messagebird/message.rb', line 8

def href
  @href
end

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/messagebird/message.rb', line 8

def id
  @id
end

#mclassObject

Returns the value of attribute mclass.



8
9
10
# File 'lib/messagebird/message.rb', line 8

def mclass
  @mclass
end

#originatorObject

Returns the value of attribute originator.



8
9
10
# File 'lib/messagebird/message.rb', line 8

def originator
  @originator
end

#recipientsObject

Returns the value of attribute recipients.



10
11
12
# File 'lib/messagebird/message.rb', line 10

def recipients
  @recipients
end

#referenceObject

Returns the value of attribute reference.



8
9
10
# File 'lib/messagebird/message.rb', line 8

def reference
  @reference
end

#scheduled_date_timeObject

Returns the value of attribute scheduled_date_time.



10
11
12
# File 'lib/messagebird/message.rb', line 10

def scheduled_date_time
  @scheduled_date_time
end

#typeObject

Returns the value of attribute type.



8
9
10
# File 'lib/messagebird/message.rb', line 8

def type
  @type
end

#type_detailsObject

Returns the value of attribute type_details.



8
9
10
# File 'lib/messagebird/message.rb', line 8

def type_details
  @type_details
end

#validityObject

Returns the value of attribute validity.



8
9
10
# File 'lib/messagebird/message.rb', line 8

def validity
  @validity
end