lib/nimbu-api/connection.rb in nimbu-api-0.2.1 vs lib/nimbu-api/connection.rb in nimbu-api-0.3.0

- old
+ new

@@ -33,9 +33,10 @@ builder.use Faraday::Request::UrlEncoded builder.use Nimbu::Request::OAuth2, oauth_token if oauth_token? builder.use Nimbu::Request::BasicAuth, authentication if basic_authed? builder.use Nimbu::Request::UserAgent builder.use Nimbu::Request::SiteHeader, subdomain + builder.use Nimbu::Request::ContentLocale, content_locale builder.use Faraday::Response::Logger if ENV['DEBUG'] builder.use Nimbu::Response::RaiseError unless options[:raw] builder.use Nimbu::Response::Mashify