lib/createsend.rb in createsend-1.0.2 vs lib/createsend.rb in createsend-1.0.3
- old
+ new
@@ -63,10 +63,10 @@
end
parser Parser::DealWithCreateSendInvalidJson
@@base_uri = "https://api.createsend.com/api/v3"
@@api_key = ""
headers({
- 'User-Agent' => "createsend-ruby-#{CreateSend::VERSION}",
+ 'User-Agent' => "createsend-ruby-#{VERSION}",
'Content-Type' => 'application/json; charset=utf-8',
'Accept-Encoding' => 'gzip, deflate' })
base_uri @@base_uri
basic_auth @@api_key, 'x'
\ No newline at end of file