lib/shelly/app.rb in shelly-0.1.0 vs lib/shelly/app.rb in shelly-0.1.1
- old
+ new
@@ -205,10 +205,18 @@
def mail_server_ip
attributes["mail_server_ip"]
end
+ def git_info
+ attributes["git_info"]
+ end
+
+ def state
+ attributes["state"]
+ end
+
def self.inside_git_repository?
system("git status > /dev/null 2>&1")
end
def to_s
@@ -219,8 +227,12 @@
"#{shelly.shellyapp_url}/apps/#{code_name}/billing/edit"
end
def open
Launchy.open("http://#{attributes["domain"]}")
+ end
+
+ def console
+ shelly.console(code_name)
end
end
end