Module: Lich::Currency

Defined in:
lib/gemstone/infomon/currency.rb

Class Method Summary collapse

Class Method Details

.blackscripInteger

Retrieves the current amount of blackscrip currency.

Examples:

amount_of_blackscrip = Lich::Currency.blackscrip

Returns:

  • (Integer)

    the amount of blackscrip.

Raises:

  • (StandardError)

    if there is an issue retrieving the data.



49
50
51
# File 'lib/gemstone/infomon/currency.rb', line 49

def self.blackscrip
  Lich::Gemstone::Infomon.get('currency.blackscrip')
end

.bloodscripInteger

Retrieves the current amount of bloodscrip currency.

Examples:

amount_of_bloodscrip = Lich::Currency.bloodscrip

Returns:

  • (Integer)

    the amount of bloodscrip.

Raises:

  • (StandardError)

    if there is an issue retrieving the data.



59
60
61
# File 'lib/gemstone/infomon/currency.rb', line 59

def self.bloodscrip
  Lich::Gemstone::Infomon.get('currency.bloodscrip')
end

.elansInteger

Retrieves the current amount of elans currency.

Examples:

amount_of_elans = Lich::Currency.elans

Returns:

  • (Integer)

    the amount of elans.

Raises:

  • (StandardError)

    if there is an issue retrieving the data.



89
90
91
# File 'lib/gemstone/infomon/currency.rb', line 89

def self.elans
  Lich::Gemstone::Infomon.get('currency.elans')
end

.ethereal_scripInteger

Retrieves the current amount of ethereal scrip currency.

Examples:

amount_of_ethereal_scrip = Lich::Currency.ethereal_scrip

Returns:

  • (Integer)

    the amount of ethereal scrip.

Raises:

  • (StandardError)

    if there is an issue retrieving the data.



69
70
71
# File 'lib/gemstone/infomon/currency.rb', line 69

def self.ethereal_scrip
  Lich::Gemstone::Infomon.get('currency.ethereal_scrip')
end

.gemstone_dustInteger

Retrieves the current amount of gemstone dust currency.

Examples:

amount_of_gemstone_dust = Lich::Currency.gemstone_dust

Returns:

  • (Integer)

    the amount of gemstone dust.

Raises:

  • (StandardError)

    if there is an issue retrieving the data.



119
120
121
# File 'lib/gemstone/infomon/currency.rb', line 119

def self.gemstone_dust
  Lich::Gemstone::Infomon.get('currency.gemstone_dust')
end

.gigas_artifact_fragmentsInteger

Retrieves the current amount of gigas artifact fragments currency.

Examples:

amount_of_gigas_artifact_fragments = Lich::Currency.gigas_artifact_fragments

Returns:

  • (Integer)

    the amount of gigas artifact fragments.

Raises:

  • (StandardError)

    if there is an issue retrieving the data.



109
110
111
# File 'lib/gemstone/infomon/currency.rb', line 109

def self.gigas_artifact_fragments
  Lich::Gemstone::Infomon.get('currency.gigas_artifact_fragments')
end

.raikhenInteger

Retrieves the current amount of raikhen currency.

Examples:

amount_of_raikhen = Lich::Currency.raikhen

Returns:

  • (Integer)

    the amount of raikhen.

Raises:

  • (StandardError)

    if there is an issue retrieving the data.



79
80
81
# File 'lib/gemstone/infomon/currency.rb', line 79

def self.raikhen
  Lich::Gemstone::Infomon.get('currency.raikhen')
end

.redsteel_marksInteger

Retrieves the current amount of redsteel marks currency.

Examples:

amount_of_redsteel_marks = Lich::Currency.redsteel_marks

Returns:

  • (Integer)

    the amount of redsteel marks.

Raises:

  • (StandardError)

    if there is an issue retrieving the data.



29
30
31
# File 'lib/gemstone/infomon/currency.rb', line 29

def self.redsteel_marks
  Lich::Gemstone::Infomon.get('currency.redsteel_marks')
end

.silverInteger

Retrieves the current amount of silver currency.

Examples:

amount_of_silver = Lich::Currency.silver

Returns:

  • (Integer)

    the amount of silver.

Raises:

  • (StandardError)

    if there is an issue retrieving the data.



9
10
11
# File 'lib/gemstone/infomon/currency.rb', line 9

def self.silver
  Lich::Gemstone::Infomon.get('currency.silver')
end

.silver_containerInteger

Retrieves the current amount of silver container currency.

Examples:

amount_of_silver_container = Lich::Currency.silver_container

Returns:

  • (Integer)

    the amount of silver container.

Raises:

  • (StandardError)

    if there is an issue retrieving the data.



19
20
21
# File 'lib/gemstone/infomon/currency.rb', line 19

def self.silver_container
  Lich::Gemstone::Infomon.get('currency.silver_container')
end

.soul_shardsInteger

Retrieves the current amount of soul shards currency.

Examples:

amount_of_soul_shards = Lich::Currency.soul_shards

Returns:

  • (Integer)

    the amount of soul shards.

Raises:

  • (StandardError)

    if there is an issue retrieving the data.



99
100
101
# File 'lib/gemstone/infomon/currency.rb', line 99

def self.soul_shards
  Lich::Gemstone::Infomon.get('currency.soul_shards')
end

.ticketsInteger

Retrieves the current amount of tickets currency.

Examples:

amount_of_tickets = Lich::Currency.tickets

Returns:

  • (Integer)

    the amount of tickets.

Raises:

  • (StandardError)

    if there is an issue retrieving the data.



39
40
41
# File 'lib/gemstone/infomon/currency.rb', line 39

def self.tickets
  Lich::Gemstone::Infomon.get('currency.tickets')
end