Module: FedSpending
- Defined in:
- lib/fed_spending.rb,
lib/fed_spending/client.rb,
lib/fed_spending/version.rb,
lib/fed_spending/client/api.rb,
lib/fed_spending/client/request.rb,
lib/fed_spending/client/connection.rb
Defined Under Namespace
Classes: Client
Constant Summary collapse
- VERSION =
"0.0.1"
Class Method Summary collapse
- .client(options = {}) ⇒ Object
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to MicrosoftOpenData::Client.new.
- .respond_to?(method, include_private = false) ⇒ Boolean
Class Method Details
.client(options = {}) ⇒ Object
5 6 7 |
# File 'lib/fed_spending.rb', line 5 def self.client(={}) FedSpending::Client.new() end |
.method_missing(method, *args, &block) ⇒ Object
Delegate to MicrosoftOpenData::Client.new
10 11 12 13 |
# File 'lib/fed_spending.rb', line 10 def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end |
.respond_to?(method, include_private = false) ⇒ Boolean
15 16 17 |
# File 'lib/fed_spending.rb', line 15 def self.respond_to?(method, include_private=false) client.respond_to?(method, include_private) || super(method, include_private) end |