Class: MediumApi::Post

Inherits:
Struct
  • Object
show all
Defined in:
lib/medium_api/post.rb

Instance Attribute Summary collapse

Instance Attribute Details

#author_idObject

Returns the value of attribute author_id

Returns:

  • (Object)

    the current value of author_id



2
3
4
# File 'lib/medium_api/post.rb', line 2

def author_id
  @author_id
end

#canonical_urlObject

Returns the value of attribute canonical_url

Returns:

  • (Object)

    the current value of canonical_url



2
3
4
# File 'lib/medium_api/post.rb', line 2

def canonical_url
  @canonical_url
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



2
3
4
# File 'lib/medium_api/post.rb', line 2

def id
  @id
end

#licenseObject

Returns the value of attribute license

Returns:

  • (Object)

    the current value of license



2
3
4
# File 'lib/medium_api/post.rb', line 2

def license
  @license
end

#license_urlObject

Returns the value of attribute license_url

Returns:

  • (Object)

    the current value of license_url



2
3
4
# File 'lib/medium_api/post.rb', line 2

def license_url
  @license_url
end

#publish_statusObject

Returns the value of attribute publish_status

Returns:

  • (Object)

    the current value of publish_status



2
3
4
# File 'lib/medium_api/post.rb', line 2

def publish_status
  @publish_status
end

#published_atObject

Returns the value of attribute published_at

Returns:

  • (Object)

    the current value of published_at



2
3
4
# File 'lib/medium_api/post.rb', line 2

def published_at
  @published_at
end

#tagsObject

Returns the value of attribute tags

Returns:

  • (Object)

    the current value of tags



2
3
4
# File 'lib/medium_api/post.rb', line 2

def tags
  @tags
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



2
3
4
# File 'lib/medium_api/post.rb', line 2

def title
  @title
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



2
3
4
# File 'lib/medium_api/post.rb', line 2

def url
  @url
end