Module: BikePOA
- Defined in:
- lib/bikepoa.rb,
lib/bikepoa/client.rb,
lib/bikepoa/helpers.rb,
lib/bikepoa/station.rb,
lib/bikepoa/map_parser.rb,
lib/bikepoa/http_client.rb
Defined Under Namespace
Modules: Helpers
Classes: Client, HttpClient, MapParser, Station
Constant Summary
collapse
- DEFAULT_URI =
'http://ww2.mobilicidade.com.br/bikepoa/mapaestacao.asp'
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
11
12
13
|
# File 'lib/bikepoa.rb', line 11
def self.config
@config or {}
end
|
6
7
8
9
|
# File 'lib/bikepoa.rb', line 6
def self.configure(&block)
yield params = Hashie::Mash.new
@config = params
end
|
.root(*parts) ⇒ Object
15
16
17
|
# File 'lib/bikepoa.rb', line 15
def self.root(*parts)
File.join(File.dirname(__FILE__), *parts)
end
|