镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

In addition to the @store_id, there should also be a @company_id #6

Open

Description

@juuso

Currently, the gem uses the @store_id variable to build all URLs, even though most of the API URLs actually require the company identifier, not the store identifier. For many companies, they simply happen to be identical by default. This is not always the case, though.

This bug quickly becomes apparent when you have more than one store under your company account.

Here's an example URL where @store_id is used correctly:
https://sites.fastspring.com/#{@store_id}/...

And an example where it's used incorrectly:
https://api.fastspring.com/company/#{@store_id}/...

Activity

  1. juuso commented on Apr 4, 2014

    @juuso
    ContributorAuthor

    Added a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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