Sha256: c9ab02942a298c9acc7cc690f63198b1a56b6e0cb0795531eda068ddddbaae76
Contents?: true
Size: 1.86 KB
Versions: 1
Compression:
Stored size: 1.86 KB
Contents
bloggs: | { "restful_url": "http://example.com:3000/people/<%= @person.to_param %>", "wallet": { "restful_url": "http://example.com:3000/wallets/<%= @person.wallet.to_param %>", "contents": "an old photo, 5 euros in coins" }, "current_location": "Under a tree", "name": "Joe Bloggs", "pets": [ { "restful_url": "http://example.com:3000/pets/<%= @person.pets.first.to_param %>", "name": "mietze" }], "created_at": "<%= @person.created_at.xmlschema %>" } bloggs_with_oldest_pet: | { "restful_url": "http://example.com:3000/people/<%= @person.to_param %>", "oldest_pet": { "restful_url": "http://example.com:3000/pets/<%= @person.pets.first.to_param %>", "name": "mietze" } } bloggs_with_birthday: | { "restful_url": "http://example.com:3000/people/<%= @person.to_param %>", "birthday": "<%= @person.birthday.to_s(:db) %>" } bloggs_with_pets_ages_hash: | { "restful_url": "http://example.com:3000/people/<%= @person.to_param %>", "pets_ages_hash": { "mietze": 200, "motze": 100 } } bloggs_with_has_pets: | { "restful_url": "http://example.com:3000/people/<%= @person.to_param %>", "has_pets": true } bloggs_with_hasno_pets: | { "restful_url": "http://example.com:3000/people/<%= @person.to_param %>", "has_pets": false } bloggs_da_pet_hater: | { "restful_url": "http://example.com:3000/people/<%= @person.to_param %>", "wallet": { "restful_url": "http://example.com:3000/wallets/<%= @person.wallet.to_param %>", "contents": "an old photo, 5 euros in coins" }, "current_location": "Under a tree", "name": "Joe Bloggs", "created_at": "<%= @person.created_at.xmlschema %>" }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
purzelrakete-restful-0.2.2 | test/fixtures/people.json.yaml |