lib/mailersend/tokens/tokens.rb in mailersend-ruby-0.2.0 vs lib/mailersend/tokens/tokens.rb in mailersend-ruby-0.2.1

- old
+ new

@@ -17,12 +17,12 @@ @status = {} end def create(name:, scopes:, domain_id:) json = { - "name" => name, - "scopes" => scopes, - "domain_id" => domain_id + 'name' => name, + 'scopes' => scopes, + 'domain_id' => domain_id } response = client.http.post("#{API_URL}/token", json: json) puts response end