Class: PostProxy::InstagramUserTag

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

Overview

An Instagram account to tag in a post. Images require x and y; reels and video slides are tagged by username only — Instagram ignores coordinates there. media_index picks the carousel slide (0-based).

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

#initialize, #to_h

Constructor Details

This class inherits a constructor from PostProxy::Model

Instance Attribute Details

#media_indexObject

Returns the value of attribute media_index.



672
673
674
# File 'lib/postproxy/types.rb', line 672

def media_index
  @media_index
end

#usernameObject

Returns the value of attribute username.



672
673
674
# File 'lib/postproxy/types.rb', line 672

def username
  @username
end

#xObject

Returns the value of attribute x.



672
673
674
# File 'lib/postproxy/types.rb', line 672

def x
  @x
end

#yObject

Returns the value of attribute y.



672
673
674
# File 'lib/postproxy/types.rb', line 672

def y
  @y
end