Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for checkins/resolve endpoint #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Hirurg103
Copy link

[fix #101]

Now clients can get an information about a checkin by a short ID at the
end of a swarmapp.com url like:

  client.resolve_checkin(shortId: 'dcBOk2Awmpj')

[fix mattmueller#101]

Now clients can get an information about a checkin by a short ID at the
end of a swarmapp.com url like:
```
  client.resolve_checkin(shortId: 'dcBOk2Awmpj')
```
@Hirurg103
Copy link
Author

Hi @mattmueller, could you please look at this? Thanks

@Hirurg103
Copy link
Author

Hello @mattmueller, @marcomoura, @acmeyer, @R-obert could you guys somebody review and merge this PR? Thanks!

req.url "checkins/resolve", options
end
return_error_or_body(response, response.body.response.checkin)
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks nice 👍

@@ -39,6 +39,7 @@ def configure
require 'foursquare2/pages'
require 'foursquare2/lists'
require 'foursquare2/events'
require 'foursquare2/multi'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw another PR with this change, would be better to let this to be merged there... wdyt to extract from this PR the commit and the code related to the 'multi'?

@Hirurg103
Copy link
Author

Hi @marcomoura, I removed the code related to the 'multi' PR. Can you merge it now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for checkin/resolve endpoint
2 participants