```ruby
@connection = Faraday.new(host, connection_options)

if block_given?
  yield @connection
end
```