Class: PostProxy::Insights
Instance Attribute Summary collapse
-
#impressions ⇒ Object
Returns the value of attribute impressions.
-
#on ⇒ Object
Returns the value of attribute on.
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ Insights
constructor
A new instance of Insights.
Methods inherited from Model
Constructor Details
#initialize(**attrs) ⇒ Insights
Returns a new instance of Insights.
51 52 53 54 55 56 |
# File 'lib/postproxy/types.rb', line 51 def initialize(**attrs) @impressions = nil @on = nil super @on = parse_time(@on) end |
Instance Attribute Details
#impressions ⇒ Object
Returns the value of attribute impressions.
49 50 51 |
# File 'lib/postproxy/types.rb', line 49 def impressions @impressions end |
#on ⇒ Object
Returns the value of attribute on.
49 50 51 |
# File 'lib/postproxy/types.rb', line 49 def on @on end |