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.



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_idObject

Returns the value of attribute external_id.



311
312
313
# File 'lib/postproxy/types.rb', line 311

def external_id
  @external_id
end

#idObject

Returns the value of attribute id.



311
312
313
# File 'lib/postproxy/types.rb', line 311

def id
  @id
end

#statusObject

Returns the value of attribute status.



311
312
313
# File 'lib/postproxy/types.rb', line 311

def status
  @status
end

#typeObject

Returns the value of attribute type.



311
312
313
# File 'lib/postproxy/types.rb', line 311

def type
  @type
end

#urlObject

Returns the value of attribute url.



311
312
313
# File 'lib/postproxy/types.rb', line 311

def url
  @url
end