lib/mailup/public/console.rb in mailup-1.1.0 vs lib/mailup/public/console.rb in mailup-1.2.0

- old
+ new

@@ -36,12 +36,12 @@ # } # trial = mailup.public.console.new(account) # trial['id'] # => 1329874 # - def new(account = {}) - @api.post("#{@api.path}/Console/TrialActivation", body: account) + def activate_trial(account = {}) + @api.provisioning_request("#{@api.path}/Console/TrialActivation", account) end # Retrieve the information about current trial activation status. # # @param [Hash] account A hash of account attributes. @@ -65,10 +65,10 @@ # => 1234 # status['Description'] # => "Status description..." # def status(account = {}) - @api.post("#{@api.path}/Console/TrialActivationStatus", body: account) + @api.provisioning_request("#{@api.path}/Console/TrialActivationStatus", account) end end end end \ No newline at end of file