lib/bushido/app.rb in bushido-0.0.35 vs lib/bushido/app.rb in bushido-0.0.36
- old
+ new
@@ -185,9 +185,16 @@
def logs
get({:gift => "logs"})
end
+ # Check if the app is allowed to send emails
+ # Apps are rate-limited according to their tier
+ def mail_allowed?
+ Bushido::Command.get_command(Bushido::Base.allowed_email_url)
+ end
+
+
def ssh_key #:nodoc:
get({:gift => "ssh_key"})["ssh_key"]
end
end
end