Class: PostProxy::Media
Instance Attribute Summary collapse
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#error_message ⇒ Object
Returns the value of attribute error_message.
-
#id ⇒ Object
Returns the value of attribute id.
-
#source_url ⇒ Object
Returns the value of attribute source_url.
-
#status ⇒ Object
Returns the value of attribute status.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ Media
constructor
A new instance of Media.
Methods inherited from Model
Constructor Details
#initialize(**attrs) ⇒ Media
Returns a new instance of Media.
90 91 92 93 94 95 |
# File 'lib/postproxy/types.rb', line 90 def initialize(**attrs) @error_message = nil @source_url = nil @url = nil super end |
Instance Attribute Details
#content_type ⇒ Object
Returns the value of attribute content_type.
88 89 90 |
# File 'lib/postproxy/types.rb', line 88 def content_type @content_type end |
#error_message ⇒ Object
Returns the value of attribute error_message.
88 89 90 |
# File 'lib/postproxy/types.rb', line 88 def @error_message end |
#id ⇒ Object
Returns the value of attribute id.
88 89 90 |
# File 'lib/postproxy/types.rb', line 88 def id @id end |
#source_url ⇒ Object
Returns the value of attribute source_url.
88 89 90 |
# File 'lib/postproxy/types.rb', line 88 def source_url @source_url end |
#status ⇒ Object
Returns the value of attribute status.
88 89 90 |
# File 'lib/postproxy/types.rb', line 88 def status @status end |
#url ⇒ Object
Returns the value of attribute url.
88 89 90 |
# File 'lib/postproxy/types.rb', line 88 def url @url end |