class MWO::Client

Constants

ITEMS_PATH
MECHS_PATH
MECH_IDS_PATH
OMNIPARTS_PATH

Attributes

host[RW]

Public Class Methods

new(args = {}) click to toggle source
# File lib/mwo/client.rb, line 9
def initialize(args = {})
  @host = args[:host] || "http://static.mwomercs.com"
end

Public Instance Methods

items_url() click to toggle source
# File lib/mwo/client.rb, line 17
def items_url
  host + ITEMS_PATH
end
mech_ids_url() click to toggle source
# File lib/mwo/client.rb, line 25
def mech_ids_url
  host + MECH_IDS_PATH
end
mechs_url() click to toggle source
# File lib/mwo/client.rb, line 13
def mechs_url
  host + MECHS_PATH
end
omniparts_url() click to toggle source
# File lib/mwo/client.rb, line 21
def omniparts_url
  host + OMNIPARTS_PATH
end