Class: BggApi

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/bgg-api.rb

Overview

because this uses method_missing, the fact that we’re including the HTTParty module below into the namespace doesn’t seem to help. Likewise with the base_uri method. There’s probably some trick to getting this to work, but I haven’t yet figured it out and will put it on the list, but later in the process.

Constant Summary collapse

@@base_uri =
"http://www.boardgamegeek.com/xmlapi2"

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object (protected)



30
31
32
# File 'lib/bgg-api.rb', line 30

def method_missing(method, *args)
  call(method, *args)
end