9 10 11
# File 'lib/models/account.rb', line 9 def accounts_url [Shushu.url, "/accounts"].join end
5 6 7
# File 'lib/models/account.rb', line 5 def create Shushu.handle_req {RestClient.post(accounts_url, {}, Shushu.headers)} end