class ArkEcosystem::Client::API::Votes

Methods for the Votes API

Public Instance Methods

all(parameters = {}) click to toggle source

Get all votes.

@param parameters [Hash]

@return [Faraday::Response]

# File lib/arkecosystem/client/api/votes.rb, line 13
def all(parameters = {})
  @client.get('votes', parameters)
end
show(id) click to toggle source

Get the vote by the given id.

@param id [String]

@return [Faraday::Response]

# File lib/arkecosystem/client/api/votes.rb, line 22
def show(id)
  @client.get("votes/#{id}")
end