class Qiita::Elasticsearch::Nodes::MatchNode

Public Class Methods

new(token) click to toggle source

@param [Qiita::Elasticsearch::Token] token

# File lib/qiita/elasticsearch/nodes/match_node.rb, line 6
def initialize(token)
  @token = token
end

Public Instance Methods

to_hash() click to toggle source

@return [Hash]

# File lib/qiita/elasticsearch/nodes/match_node.rb, line 11
def to_hash
  @token.to_hash
end