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.
335 336 337 338 339 |
# File 'lib/postproxy/types.rb', line 335 def initialize(**attrs) @url = nil @external_id = nil super end |
Instance Attribute Details
#external_id ⇒ Object
Returns the value of attribute external_id.
333 334 335 |
# File 'lib/postproxy/types.rb', line 333 def external_id @external_id end |
#id ⇒ Object
Returns the value of attribute id.
333 334 335 |
# File 'lib/postproxy/types.rb', line 333 def id @id end |
#status ⇒ Object
Returns the value of attribute status.
333 334 335 |
# File 'lib/postproxy/types.rb', line 333 def status @status end |
#type ⇒ Object
Returns the value of attribute type.
333 334 335 |
# File 'lib/postproxy/types.rb', line 333 def type @type end |
#url ⇒ Object
Returns the value of attribute url.
333 334 335 |
# File 'lib/postproxy/types.rb', line 333 def url @url end |