guardian/open-platform-content-api-scala-client — pull request #18 by nicl (2013-07-16 14:43:23+00:00)
Title: Add Edition handling

Adds Edition handling for section item requests.

For example, I can make the following request:

Api.item.itemId("business").response.edition

Which will return an Edition case class which looks like:

edition: {
id: au/business
code: au
webTitle: Business
webUrl: ..
apiUrl: ..
}

This PR is related to https://github.com/guardian/content-api/pull/189 . But note, we can release this beforehand as calling `.edition` returns an Option - so the client will just get a `None` if no edition is found.