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.
313 314 315 316 317 |
# File 'lib/postproxy/types.rb', line 313 def initialize(**attrs) @url = nil @external_id = nil super end |
Instance Attribute Details
#external_id ⇒ Object
Returns the value of attribute external_id.
311 312 313 |
# File 'lib/postproxy/types.rb', line 311 def external_id @external_id end |
#id ⇒ Object
Returns the value of attribute id.
311 312 313 |
# File 'lib/postproxy/types.rb', line 311 def id @id end |
#status ⇒ Object
Returns the value of attribute status.
311 312 313 |
# File 'lib/postproxy/types.rb', line 311 def status @status end |
#type ⇒ Object
Returns the value of attribute type.
311 312 313 |
# File 'lib/postproxy/types.rb', line 311 def type @type end |
#url ⇒ Object
Returns the value of attribute url.
311 312 313 |
# File 'lib/postproxy/types.rb', line 311 def url @url end |