Skip to content
This repository was archived by the owner on Apr 26, 2018. It is now read-only.
This repository was archived by the owner on Apr 26, 2018. It is now read-only.

API is broken #1

@ndbroadbent

Description

@ndbroadbent

This API is broken. The following are examples of the errors that are given:

person = Person.find(3808)
=> #<BatchBook::Person:0xb740e4b4 ........

person.tags
ActiveResource::ResourceNotFound: Failed with 404 Not Found

person.supertags
ActiveResource::Redirection: Failed with 302 Moved Temporarily => https://cf.batchbook.com/service/people/3808/super_tags?action=index&contact_id=3808&controller=service%2Fsuper_tags&format=xml

person.locations
ActiveResource::Redirection: Failed with 302 Moved Temporarily => https://cf.batchbook.com/service/people/3808/locations

However, it seems that all 'unnested' resources still work as expected.
For example:
Todo.new.tags
Communication.new.tags
SuperTag.find(:all)
Location.find(2)
.. are all working.

Would you please consider fixing the API so that our company can test BatchBook? In the meantime I will try to fix the code myself, and if I am successful I can send you my changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions