1.7.41. Provider ドロップ (up)

1.7.41.1. メソッド

1.7.41.1.1. name

ご自分の組織の名前を返します。

Domain {{ provider.domain }}

{% if provider.multiple_applications_allowed? %}

     <p>Applications</p>
     <ul>
     {% for app in account.applications %}
       <li>{{ app.name }}</li>
     {% endfor %}
     </ul>

{% else %}
   Application {{ account.applications.first.name }}
{% endif %}

For general questions contact us at {{ provider.support_email }},
for invoice or payment related questions contact us at {{ provider.finance_support_email }}
1.7.41.1.2. payment_gateway

アカウントに関連付けられた支払いゲートウェイを返します。

1.7.41.1.3. domain

デベロッパーポータルのドメイン

1.7.41.1.4. timezone

使用するタイムゾーンを返します。管理ポータルでタイムゾーンを変更できます。Dashboard > Account Settings の順に選択します。Overview ページで Account Details までスクロールして Edit をクリックし、Time Zone フィールドを変更します。

1.7.41.1.5. support_email

アカウントのサポートメール

1.7.41.1.6. finance_support_email

アカウントの経理サポートメール

1.7.41.1.7. telephone_number

アカウントの電話番号を返します。

1.7.41.1.8. multiple_applications_allowed?

開発者が個別のキーや統計情報などを持つ複数のアプリケーションを持つことができる場合は True。この動作は 3scale のプランによります。

{% if provider.multiple_applications_allowed? %}

     <p>Applications</p>
     <ul>
     {% for app in account.applications %}
       <li>{{ app.name }}</li>
     {% endfor %}
     </ul>

{% else %}
   Application {{ account.applications.first.name }}
{% endif %}
1.7.41.1.9. logo_url

ロゴの URL を返します。

1.7.41.1.10. multiple_services_allowed?

3scale のプランで複数の API を個別のサービスとして管理することができる場合は True。

{% if provider.multiple_services_allowed? %}
  {% for service in provider.services %}
     Service {{ service.name }} is available.
  {% endfor %}
{% endif %}
1.7.41.1.11. finance_allowed?
1.7.41.1.12. multiple_users_allowed?

開発者アカウントに複数のログインを関連付けることができる場合は True。この動作は、3scale のプランおよび /p/admin/cms/switches[settings] でデベロッパーポータルでの表示が有効かどうかによります。

{% if provider.multiple_users_allowed? %}
  <ul id="subsubmenu">
    <li>
       {{ 'Users' | link_to: urls.users }}
    </li>
    <li>
      {{ 'Sent invitations' | link_to: urls.invitations }}
    </li>
  </ul>
{% endif %}
1.7.41.1.13. account_plans

公開されているすべてのアカウントプランを返します。

<p>We offer following account plans:</p>
<ul>
{% for plan in model.account_plans %}
  <li>{{ plan.name }} </li>
{% endfor %}
</ul>
1.7.41.1.14. services

定義されているすべてのサービスを返します。

<p>You can signup to any of our services!</p>
<ul>
{% for service in provider.services %}
  <li>{{ service.name }} <a href="/signup/service/{{ service.system_name }}">Signup!</a></li>
{% endfor %}
1.7.41.1.15. signups_enabled?

3scale 管理ポータルの Audience > Accounts > Settings > Usage Rules> でサインアップを有効または無効にすることができます。

1.7.41.1.16. account_management_enabled?

3scale 管理ポータルの Audience > Accounts > Settings > Usage Rules> でアカウント管理を無効または有効にできます。