lib/bsclient/cli.rb in bsclient-0.1.0 vs lib/bsclient/cli.rb in bsclient-0.1.2
- old
+ new
@@ -25,11 +25,11 @@
app = App.new(options, Config.create(options[:env]))
print app.query_registration(task_id, account)
end
desc '', ''
- def create_user_image(account, text, color="red")
- req_content = {account: account, text: text, fontColor: color}.to_json
+ def create_user_image(account, text, size="30", color="red")
+ req_content = {account: account, text: text, fontSize: size, fontColor: color}.to_json
app = App.new(options, Config.create(options[:env]))
print app.create_user_image(req_content)
end
desc '', ''