class NftmakerApi::Client::Reservation

Public Class Methods

new(client, project_id:, address:) click to toggle source
# File lib/nftmaker_api/client/reservation.rb, line 3
def initialize(client, project_id:, address:)
  @client = client
  @project_id = project_id
  @address = address
end

Public Instance Methods

cancel() click to toggle source
# File lib/nftmaker_api/client/reservation.rb, line 13
def cancel
  @client.get "CancelAddressReservation/#{@client.api_key}/#{@project_id}/#{@address}"
end
check() click to toggle source
# File lib/nftmaker_api/client/reservation.rb, line 9
def check
  @client.get "CheckAddress/#{@client.api_key}/#{@project_id}/#{@address}"
end