lib/createsend/client.rb in createsend-2.0.0 vs lib/createsend/client.rb in createsend-2.1.0

- old
+ new

@@ -122,14 +122,17 @@ :MarkupOnDesignSpamTest => markup_on_design_spam_test }.to_json } put 'setpaygbilling', options end # Sets the monthly billing settings for this client. - def set_monthly_billing(currency, client_pays, markup_percentage) + # monthly_scheme must be nil, Basic or Unlimited + def set_monthly_billing(currency, client_pays, markup_percentage, + monthly_scheme = nil) options = { :body => { :Currency => currency, :ClientPays => client_pays, - :MarkupPercentage => markup_percentage }.to_json } + :MarkupPercentage => markup_percentage, + :MonthlyScheme => monthly_scheme }.to_json } put 'setmonthlybilling', options end # Deletes this client. def delete \ No newline at end of file