public AccountRepresentation Account(string accountId)
{
// canned data.. for now
return new AccountRepresentation
{
Href = AccountsBaseUrl + "accounts/" + accountId,
Rel = "self",
AccountId = accountId,
Name = "Account_" + accountId,
Links = new List<Link>
{
new Link
{
Href = AccountsBaseUrl + "accounts",
Rel = "collection",
},
new Link
{
Href = AccountsBaseUrl + "accounts/" + accountId + "/followers",
Rel = "followers",
},
new Link
{
Href = AccountsBaseUrl + "accounts/" + accountId + "/following",
Rel = "following",
},
new Link
{
Href = AccountsBaseUrl + "accounts/" + accountId + "/blurbs",
Rel = "blurbs",
}
}
};
}