Class: PostProxy::Attachment
Instance Attribute Summary collapse
-
#external_id ⇒ Object
Returns the value of attribute external_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ Attachment
constructor
A new instance of Attachment.
Methods inherited from Model
Constructor Details
#initialize(**attrs) ⇒ Attachment
Returns a new instance of Attachment.
338 339 340 341 342 |
# File 'lib/postproxy/types.rb', line 338 def initialize(**attrs) @url = nil @external_id = nil super end |
Instance Attribute Details
#external_id ⇒ Object
Returns the value of attribute external_id.
336 337 338 |
# File 'lib/postproxy/types.rb', line 336 def external_id @external_id end |
#id ⇒ Object
Returns the value of attribute id.
336 337 338 |
# File 'lib/postproxy/types.rb', line 336 def id @id end |
#status ⇒ Object
Returns the value of attribute status.
336 337 338 |
# File 'lib/postproxy/types.rb', line 336 def status @status end |
#type ⇒ Object
Returns the value of attribute type.
336 337 338 |
# File 'lib/postproxy/types.rb', line 336 def type @type end |
#url ⇒ Object
Returns the value of attribute url.
336 337 338 |
# File 'lib/postproxy/types.rb', line 336 def url @url end |