There is no way to send a link like
{ type: "link", title: "Here is a link", url: "http://www.edmodo.com" }.to_json in the user_post request:
client.user_post edmodo_token, "Here is some stuff for you.", recipients, {}, share_link
def share_link
{ type: "link", title: "Here is a link", url: "http://www.edmodo.com" }.to_json
end
It seems that the last attachment parameter is ignored.