lib/streamly_ffi/request.rb in streamly_ffi-0.2.0 vs lib/streamly_ffi/request.rb in streamly_ffi-0.2.1
- old
+ new
@@ -7,14 +7,10 @@
module StreamlyFFI
class Request
include Singleton
include StreamlyFFI::Base
- def initialize(options={})
- self.set_options(options)
- end
-
def self.execute(options={})
- new(options).execute
+ new.execute(options)
end
end
end
\ No newline at end of file