1.7.46. 서비스 드롭 (up)
1.7.46.1. 방법
1.7.46.1.1. errors
실패한 제출 후 이 모델의 형식이 렌더링되면 발생한 오류가 반환됩니다.
{{ service.errors.name | inline_errors }}1.7.46.1.2. name
서비스 이름을 반환합니다.
1.7.46.1.3. system_name
서비스의 시스템 이름을 반환합니다.
{% case service.system_name %}
{% when 'api' %}
API is our newest service!
{% when 'old' %}
Unfortunately we dont allow more signups to our old service.
{% endcase %}1.7.46.1.4. description
서비스에 대한 설명을 반환합니다.
1.7.46.1.5. 서브스크립션됨?
서비스가 서브스크립션되었는지 여부를 반환합니다.
{% if service.subscribed? %}
<p>You already subscribed this service.</p>
{% endif %}1.7.46.1.6. subscription
현재 로그인한 사용자가 이 서비스에 가입된 경우 해당 서비스(ServiceContract drop)를 반환합니다. 그렇지 않으면 Nil을 반환합니다.
{% if service.subscription %}
Your applications for service {{ service.name }} are:
{% for app in service.subscription.applications %}
{{ app.name }}<br/>
{% endfor %}
{% else %}
<p>You are not subscribed to this.</p>
{% endif %}1.7.46.1.7. Subscribable?
1.7.46.1.8. subscribe_url
1.7.46.1.9. application_plans
게시된 서비스 애플리케이션 계획 반환
{% for service in model.services %}
<h4>{{ service.name }} application plans:</h4>
<dl>
{% for application_plan in service.application_plans %}
<dt>{{ application_plan.name }}</dt>
<dd>{{ application_plan.system_name }}</dd>
{% endfor %}
</dl>
{% endfor %}1.7.46.1.10. service_plans
게시된 서비스 계획 서비스 계획 반환
<p>We offer following service plans:</p>
<dl>
{% for service in model.services %}
{% for service_plan in service.service_plans %}
<dt>{{ service_plan.name }}</dt>
<dd>{{ service_plan.system_name }}</dd>
{% endfor %}
{% endfor %}
</dl>1.7.46.1.11. 계획
서비스 애플리케이션 계획 반환
1.7.46.1.12. 기능
서비스의 눈에 띄는 기능을 반환합니다.
{% if service.features.size > 0 %}
<p>{{ service.name }} has following features:</p>
<ul>
{% for feature in service.features %}
<li>{{ feature.name }}</li>
{% endfor %}
</ul>
{% else %}
<p>Unfortunately, {{ service.name }} currently has no features.</p>
{% endif %}1.7.46.1.13. apps_identifier
인증 모드 세트에 따라 OAuth 인증에 대해 'ID', 'API 키' 또는 'Client ID'를 반환합니다.
{{ service.application_key_name }}1.7.46.1.14. backend_version
1.7.46.1.15. referrer_filters_required?
1.7.46.1.16. metrics
서비스의 지표를 반환합니다.
<p>On {{ service.name }} we measure following metrics:</p>
<ul>
{% for metric in service.metrics %}
<li>{{ metric.name }}</li>
{% endfor %}
</ul>1.7.46.1.17. support_email
서비스 이메일 지원