./lib/animoto/client.rb in animoto-0.1.0.beta1 vs ./lib/animoto/client.rb in animoto-0.1.1.beta1
- old
+ new
@@ -109,11 +109,11 @@
@secret = args[1]
@endpoint = options[:endpoint]
@logger = options[:logger] || ::Logger.new(STDOUT)
configure_from_rc_file
@endpoint ||= API_ENDPOINT
- __send__ :http_engine=, options[:http_engine] || :net_http
- __send__ :response_parser=, options[:response_parser] || :json
+ self.http_engine = options[:http_engine] || :net_http
+ self.response_parser= options[:response_parser] || :json
end
def http_engine= engine
@http_engine = case engine
when Animoto::HTTPEngines::Base
\ No newline at end of file