Create/update/delete reservations

I wanted to avoid duplicating the details of the API documentation as much
as possible (I linked it earlier in the README) since the documentation
here could easily become out of date with the documentation on the site.

On Tue, Dec 9, 2014 at 1:55 PM, Brian McManus <notifications@github.com>
wrote:

> In README.md
> <https://github.com/CheckMateIO/checkmate_ruby/pull/3#discussion-diff-21566012>
> :
>
> > @@ -65,3 +65,31 @@ You can request a specific reservation from the Checkmate API.
> >
> >      # reservation with id 123452
> >      client.show_reservation(123452)
> > +
> > +### Create reservation
> > +
> > +You can create a reservation in Checkmate using either an existing property id, or by
> > +creating a new property within the request.
> > +
> > +    # reservation under property 93
> > +    client.create_reservation({:external_id => "someid123", :confirmation_number => "sdlfkjweo324", \
> > +        :last_name => "smith", :email => "frank@smith.io", :start_on => "12/12/2016", :end_on => "12/14/2016"}, 93)
> > +
> > +    # creating a new property
> > +    client.create_reservation({:external_id => "someid123", :confirmation_number => "sdlfkjweo324", \
> > +        :last_name => "smith", :email => "frank@smith.io", :start_on => "12/12/2016", :end_on => "12/14/2016", \
> > +        :property => {:name => "New Hotel", :address => {:street => "123 Leaf Lane", :country_code => "US"}}})
> > +
>
> Should we mention that you can also provide a full_address instead of
> address?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/CheckMateIO/checkmate_ruby/pull/3/files#r21566012>.
>