lib/taric/configuration.rb in taric-0.1.13 vs lib/taric/configuration.rb in taric-0.1.14
- old
+ new
@@ -1,11 +1,10 @@
module Taric
class Configuration
attr_accessor :api_key, :format, :user_agent, :connection_opts, :adapter, :region, :requestor, :response_handler
DEFAULT_REQUESTOR = -> connection, url {
- connection.g
- et url
+ connection.get url
}.curry
DEFAULT_RESPONSE_HANDLER = -> response {
response.body
}
\ No newline at end of file