Class: Tweetkit::Response::Tweets::Meta

Inherits:
Object
  • Object
show all
Defined in:
lib/tweetkit/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(meta) ⇒ Meta

Returns a new instance of Meta.



613
614
615
616
617
# File 'lib/tweetkit/response.rb', line 613

def initialize(meta)
  return unless meta

  @data = meta
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



611
612
613
# File 'lib/tweetkit/response.rb', line 611

def data
  @data
end

Instance Method Details

#next_tokenObject



619
620
621
# File 'lib/tweetkit/response.rb', line 619

def next_token
  @data['next_token']
end

#previous_tokenObject



623
624
625
# File 'lib/tweetkit/response.rb', line 623

def previous_token
  @data['previous_token']
end