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.



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_idObject

Returns the value of attribute external_id.



336
337
338
# File 'lib/postproxy/types.rb', line 336

def external_id
  @external_id
end

#idObject

Returns the value of attribute id.



336
337
338
# File 'lib/postproxy/types.rb', line 336

def id
  @id
end

#statusObject

Returns the value of attribute status.



336
337
338
# File 'lib/postproxy/types.rb', line 336

def status
  @status
end

#typeObject

Returns the value of attribute type.



336
337
338
# File 'lib/postproxy/types.rb', line 336

def type
  @type
end

#urlObject

Returns the value of attribute url.



336
337
338
# File 'lib/postproxy/types.rb', line 336

def url
  @url
end