Class: PostProxy::Attachment

Inherits:
Model
  • Object
show all
Defined in:
lib/postproxy/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Model

#to_h

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_idObject

Returns the value of attribute external_id.



333
334
335
# File 'lib/postproxy/types.rb', line 333

def external_id
  @external_id
end

#idObject

Returns the value of attribute id.



333
334
335
# File 'lib/postproxy/types.rb', line 333

def id
  @id
end

#statusObject

Returns the value of attribute status.



333
334
335
# File 'lib/postproxy/types.rb', line 333

def status
  @status
end

#typeObject

Returns the value of attribute type.



333
334
335
# File 'lib/postproxy/types.rb', line 333

def type
  @type
end

#urlObject

Returns the value of attribute url.



333
334
335
# File 'lib/postproxy/types.rb', line 333

def url
  @url
end