class NftmakerApi::Client::Project
Public Class Methods
new(client, id)
click to toggle source
# File lib/nftmaker_api/client/project.rb, line 3 def initialize(client, id) @client = client @id = id end
Public Instance Methods
metrics()
click to toggle source
# File lib/nftmaker_api/client/project.rb, line 8 def metrics @client.get "GetCounts/#{@client.api_key}/#{@id}" end
nfts()
click to toggle source
# File lib/nftmaker_api/client/project.rb, line 12 def nfts NftmakerApi::Client::Nfts.new(@client, project_id: @id) end
reservation(address)
click to toggle source
# File lib/nftmaker_api/client/project.rb, line 20 def reservation(address) NftmakerApi::Client::Reservation.new(@client, project_id: @id, address: address) end
reservations()
click to toggle source
# File lib/nftmaker_api/client/project.rb, line 16 def reservations NftmakerApi::Client::Reservations.new(@client, project_id: @id) end