1.7. 드롭 다운 (위)


1.7.1. 계정 드롭 (up)

개발자 계정. 이메일 주소 또는 유사한 정보를 찾고 있는 경우 사용자 삭제를 참조하십시오.

<h2>Account organization name {{ current_account.name }}</h2>
Plan {{ current_account.bought_account_plan.name }}
Telephone {{ current_account.telephone_number }}

{{ current_account.fields_plain_text }}
{{ current_account.extra_fields_plain_text }}

{% if current_account.approval_required? %}
   <p>This account requires approval.</p>
{% endif %}

{% if current_account.credit_card_required? %}

  {% if current_account.credit_card_stored? %}
    <p>This account has credit card details stored in database.</p>
  {% else %}
    <p>Please enter your {{ 'credit card details' | link_to: urls.payment_details }}.</p>
  {% endif %}

  {% if current_account.credit_card_missing? %}
    <p>This account has no credit card details stored in database.</p>
  {% endif %}
{% endif %}

1.7.1.1. 메서드

1.7.1.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ account.errors.name | inline_errors }}
1.7.1.1.2. id

계정의 ID를 반환합니다.

1.7.1.1.3. name

개발자 계정의 조직 이름을 반환합니다.

1.7.1.1.4. vat_zero_text

vat 0에 대한 텍스트를 반환합니다.

1.7.1.1.5. vat_rate

vat 비율을 반환합니다.

1.7.1.1.6. unread_messages

메시지 읽기 취소.

1.7.1.1.7. latest_messages

최신 메시지를 반환합니다.

1.7.1.1.8. bought_account_plan

계정이 계약한 계획을 반환합니다.

1.7.1.1.9. bought_account_contract

계약 계정을 반환합니다.

1.7.1.1.10. credit_card_display_number
1.7.1.1.11. credit_card_expiration_date
1.7.1.1.12. credit_card_required?

신용 카드 세부 정보를 입력하는 데 계정이 필요한지 여부를 반환합니다.

1.7.1.1.13. credit_card_stored?

계정에 신용 카드 세부 정보가 저장되어 있는지 여부를 반환합니다.

1.7.1.1.14. credit_card_missing?

계정에 신용 카드 세부 정보가 저장되어 있지 않은지 여부를 반환합니다.

1.7.1.1.15. 시간대

이 계정의 시간대를 반환합니다.

1.7.1.1.17. on_trial?

계정이 시험 기간에 있는지 여부를 반환합니다. 즉 모든 유료 계약이 시험 기간 내에 있어야 합니다.

1.7.1.1.18. telephone_number

계정의 전화 번호를 반환합니다.

1.7.1.1.19. approval_required

계정에 승인이 필요한지 여부를 반환합니다.

1.7.1.1.20. created_at

계정 생성의 UNIX 타임스탬프(서명)를 반환합니다. 예: 타임스탬프를 JavaScript 날짜로 변환합니다.

<script>
  var data = new Date({{ account.created_at }} * 1000);
</script>
1.7.1.1.21. full_address

법적 주소, 도시 및 국가로 구성할 수 있습니다.

1.7.1.1.22. 애플리케이션

계정의 애플리케이션을 반환합니다.

1.7.1.1.23. subscribed_services

ServiceContract drops를 사용하여 배열을 반환합니다.

1.7.1.1.24. admin

이 계정의 admin 사용자를 반환합니다.

1.7.1.1.25. extra_fields_plain_text

계정에 정의된 추가 필드를 일반 텍스트로 반환합니다.

1.7.1.1.26. fields_plain_text

계정에 정의된 필드를 일반 텍스트로 반환합니다.

1.7.1.1.27. extra_fields

이 계정의 값이 있는 추가 필드만 반환합니다. 예: 모든 추가 필드를 인쇄합니다.

{% for field in account.extra_fields %}
  {{ field.label }}: {{ field.value }}
{% endfor %}
1.7.1.1.28. 필드

이 계정의 값이 있는 모든 필드를 반환합니다. 예: 모든 필드를 인쇄합니다.

{% for field in account.fields %}
  {{ field.label }}: {{ field.value }}
{% endfor %}
1.7.1.1.29. builtin_fields
1.7.1.1.30. multiple_applications_allowed?
1.7.1.1.31. billing_address

이 계정의 청구 주소를 반환합니다.

1.7.1.1.32. has_billing_address?

이 계정에 청구 주소가 있는지 여부를 반환합니다.

1.7.1.1.33. 수행 가능

권한 메서드에 대한 액세스 권한을 부여합니다.

{% if account.can.be_deleted? %}
  <!-- do something -->
{% endif %}
1.7.1.1.34. edit_url
1.7.1.1.35. edit_ogone_billing_address_url
1.7.1.1.36. edit_payment_express_billing_address_url
1.7.1.1.37. edit_braintree_blue_credit_card_details_url
1.7.1.1.38. domain
1.7.1.1.39. 업그레이드하셨습니까?
1.7.1.1.40. requires_credit_card?
1.7.1.1.41. support_email
1.7.1.1.42. finance_support_email

1.7.2. AccountPlan drop (up)

예: 유동에서 계정 계획 사용.

<p class="notice">The examples for plan drop apply here</p>

1.7.2.1. 메서드

1.7.2.1.1. 선택된?

계획이 선택되었는지 여부를 반환합니다.

{% if plan.selected? %}
  <p>You will signup to {{ plan.name }}</p>
{% endif %}
1.7.2.1.2. 손실됨?

계획이 구매되었는지 여부를 반환합니다.

{% if plan.bought? %}
   <p>You are  on this plan already!</p>
{% endif %}
1.7.2.1.3. 기능

사용 가능한 기능 배열을 반환합니다.

1.7.2.1.4. setup_fee

설정 비용을 반환합니다.

1.7.2.1.5. name

계획의 이름을 반환합니다.

<h2>We offer you a new {{ plan.name }} plan!</h2>
1.7.2.1.6. system_name

계획의 시스템 이름을 반환합니다.

{% for plan in available_plans %}
  {% if plan.system_name == 'my_free_plan' %}

    <p>You will buy our only free plan!</p>
  {% endif %}
{% endfor %}
1.7.2.1.7. id

계획 ID를 반환합니다.

1.7.2.1.8. 무료입니까?

그렇지 않으면 계획이 자유롭습니다. paid? 방법을 참조하십시오.

{% if plan.free? %}
   <p>This plan is free of charge.</p>
{% else %}

     <p>Plan costs</p>
     Setup fee {{ plan.setup_fee }}
     Flat cost {{ plan.flat_cost }}

{% endif %}
1.7.2.1.10. approval_required

계획에 승인이 필요한지 여부를 반환합니다.

{% if plan.approval_required? %}
   <p>This plan requires approval.</p>
{% endif %}
1.7.2.1.11. flat_cost

계획의 월간 고정 요금을 반환합니다.

1.7.3. 경고 드롭 (up)

예: 유동성에서 경고 드롭 사용.

<h2>Alert details</h2>
Level {{ alert.level }}
Message {{ alert.message }}
Utilization {{ alert.utilization }}

1.7.3.1. 메서드

1.7.3.1.1. level

경고 수준은 50, 80, 90, 100, 120, 150, 200, 300 중 하나일 수 있습니다.

1.7.3.1.2. message

경고를 설명하는 텍스트 메시지(예 : 분당 적중: 5개 중 5 개 )

1.7.3.1.3. 사용

경고 1.0을 트리거한 실제 사용률을 나타내는 10진수는 100%와 같습니다.

Used by {{ alert.utilization | times: 100 }} percent.

1.7.4. 애플리케이션 드롭 (up)

예: 유동성에서 애플리케이션 삭제 사용.

<h2>Application {{ application.name }} ({{ application.application_id }})</h2>
<p>{{ application.description }}</p>

1.7.4.1. 메서드

1.7.4.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ application.errors.name | inline_errors }}
1.7.4.1.2. id

애플리케이션 ID를 반환합니다.

1.7.4.1.3. can_change_plan?

직접 또는 요청에 따라 애플리케이션 변경이 허용되는 경우 true 를 반환합니다.

1.7.4.1.4. 평가판은 무엇입니까?

계약이 아직 시험 기간에 있는 경우 true를 반환합니다.

참고: 계획의 시험 기간을 변경하면 기존 계약에는 영향을 미치지 않습니다.

1.7.4.1.5. 라이브?
1.7.4.1.6. 상태

세 가지 가능한 상태가 있습니다.

    - pending
    - live
    - suspended
1.7.4.1.7. remaining_trial_period_days

시험 기간에 남은 날의 수입니다.

1.7.4.1.8. 계획

애플리케이션 계획과 함께 plan drop을 반환합니다.

1.7.4.1.9. plan_change_permission_name

지정된 작업의 이름을 반환합니다.

1.7.4.1.10. plan_change_permission_warning

허용된 작업의 경고 전달자를 반환합니다.

1.7.4.1.11. 계약
1.7.4.1.12. admin_url

애플리케이션의 admin_url을 반환합니다.

1.7.4.1.13. name

애플리케이션 이름을 반환합니다.

1.7.4.1.14. 수행 가능
1.7.4.1.15. OAuth
1.7.4.1.16. 보류 중

애플리케이션 상태가 보류 중이면 true 를 반환합니다.

1.7.4.1.17. buyer_alerts_enabled?
1.7.4.1.18. description

애플리케이션의 설명을 반환합니다.

1.7.4.1.19. redirect_url

애플리케이션 OAuth에 대한 리디렉션 URL을 반환합니다.

1.7.4.1.20. filters_limit

이 애플리케이션에 허용되는 참조 필터의 양을 반환합니다.

1.7.4.1.21. keys_limit

이 애플리케이션에 허용되는 애플리케이션 키의 양을 반환합니다.

1.7.4.1.22. referrer_filters

이 애플리케이션과 관련된 참조 필터를 반환합니다.

1.7.4.1.23. rejection_reason

애플리케이션을 거부하는 이유를 반환합니다.

1.7.4.1.24. user_key

애플리케이션의 user_key를 반환합니다.

1.7.4.1.25. application_id

애플리케이션의 application_id를 반환합니다.

1.7.4.1.26. key

애플리케이션 ID 또는 사용자 키를 반환합니다.

1.7.4.1.27. url

이 애플리케이션에 대한 기본 제공 세부 보기의 URL을 반환합니다.

1.7.4.1.28. edit_url

이 애플리케이션의 기본 편집 뷰의 URL을 반환합니다.

1.7.4.1.29. update_user_key_url
1.7.4.1.30. log_requests_url
1.7.4.1.31. alerts_url
1.7.4.1.32. application_keys_url
1.7.4.1.33. service

해당 애플리케이션이 속한 서비스입니다.

1.7.4.1.34. 키

애플리케이션의 키를 반환합니다.

{% case application.keys.size %}
{% when 0 %}
  Generate your application key.
{% when 1 %}
  <h4>Application key for {{ application.name }} {{ application.application_id }}</h4>
  <p>Key is: {{ application.keys.first }}</p>
{% else %}
  <h4>Application keys for {{ application.name }} {{ application.application_id }}</h4>
  <ul>
    {% for key in application.keys %}
      <li>{{ key }}</li>
    {% endfor %}
  </ul>
{% endcase %}
1.7.4.1.35. user_key_mode?
1.7.4.1.36. app_id_mode?
1.7.4.1.37. change_plan_url
1.7.4.1.38. log_requests?
1.7.4.1.39. application_keys
1.7.4.1.40. extra_fields

이 애플리케이션의 값을 사용하여 표시되지 않는 추가 필드를 반환합니다. 예: 모든 추가 필드를 인쇄합니다.

{% for field in application.extra_fields %}
  {{ field.label }}: {{ field.value }}
{% endfor %}
1.7.4.1.41. 필드

이 애플리케이션의 값을 사용하여 기본 제공 및 추가 필드를 반환합니다. 예: 모든 필드를 인쇄합니다.

{% for field in application.fields %}
  {{ field.label }}: {{ field.value }}
{% endfor %}
1.7.4.1.42. builtin_fields

애플리케이션의 기본 제공 필드만 반환합니다.

1.7.4.1.43. cinstance

1.7.5. ApplicationKey drop (up)

1.7.5.1. 메서드

1.7.5.1.1. id
1.7.5.1.2. value
1.7.5.1.3. url
1.7.5.1.4. 애플리케이션

1.7.6. ApplicationPlan drop (up)

1.7.6.1. 메서드

1.7.6.1.1. 선택된?

계획이 선택되었는지 여부를 반환합니다.

{% if plan.selected? %}
  <p>You will signup to {{ plan.name }}</p>
{% endif %}
1.7.6.1.2. 손실됨?

계획이 구매되었는지 여부를 반환합니다.

{% if plan.bought? %}
   <p>You are  on this plan already!</p>
{% endif %}
1.7.6.1.3. 기능

계획의 표시 기능을 반환합니다.

{% if plan == my_free_plan %}
   <p>These plans are the same.</p>
{% else %}
   <p>These plans are not the same.</p>
{% endif %}
1.7.6.1.4. setup_fee

계획의 설정 비용을 반환합니다.

1.7.6.1.5. name

계획의 이름을 반환합니다.

<h2>We offer you a new {{ plan.name }} plan!</h2>
1.7.6.1.6. system_name

계획의 시스템 이름을 반환합니다.

{% for plan in available_plans %}
  {% if plan.system_name == 'my_free_plan' %}

    <p>You will buy our only free plan!</p>
  {% endif %}
{% endfor %}
1.7.6.1.7. id

계획 ID를 반환합니다.

1.7.6.1.8. 무료입니까?

그렇지 않으면 계획이 자유롭습니다. paid? 방법을 참조하십시오.

{% if plan.free? %}
   <p>This plan is free of charge.</p>
{% else %}

     <p>Plan costs</p>
     Setup fee {{ plan.setup_fee }}
     Flat cost {{ plan.flat_cost }}

{% endif %}
1.7.6.1.10. approval_required

계획에 승인이 필요한지 여부를 반환합니다.

{% if plan.approval_required? %}
   <p>This plan requires approval.</p>
{% endif %}
1.7.6.1.11. flat_cost

계획의 월간 고정 요금을 반환합니다.

1.7.6.1.12. 메트릭

계획의 메트릭을 반환합니다.

1.7.6.1.13. usage_limits

계획의 사용 제한을 반환합니다.

1.7.6.1.14. service

계획의 서비스를 반환합니다.

1.7.7. 기본 드롭 (up)

1.7.7.1. 메서드

1.7.7.1.1. login_url
1.7.7.1.2. user_identified?

1.7.8. 기본 드롭 (up)

1.7.8.1. 메서드

1.7.8.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ base.errors.name | inline_errors }}
1.7.8.1.2. title

title 결과를 반환합니다.

1.7.8.1.3. kind

결과 유형을 반환합니다. 'topic' 또는 'page'일 수 있습니다.

1.7.8.1.4. url

결과의 리소스 URL을 반환합니다.

1.7.8.1.5. description

결과에 대한 설명이 포함된 문자열을 반환합니다.

1.7.9. structuredingAddressField 드롭 (up)

1.7.9.1. 메서드

1.7.9.1.1. input_name
1.7.9.1.2. label
1.7.9.1.3. 선택
1.7.9.1.4. 오류
1.7.9.1.5. html_id
1.7.9.1.6. 숨겨져 있습니까?
1.7.9.1.7. 눈에 띄는?
1.7.9.1.8. read_only?
1.7.9.1.9. name
1.7.9.1.10. value
1.7.9.1.11. 필수 항목

1.7.10. 드롭할 수 있음 (up)

1.7.10.1. 메서드

1.7.10.1.1. be_updated?
1.7.10.1.2. add_referrer_filters?
1.7.10.1.3. add_application_keys?
1.7.10.1.4. regenerate_user_key?
1.7.10.1.5. regenerate_oauth_secret?
1.7.10.1.6. manage_keys?
1.7.10.1.7. delete_key?

1.7.11. 드롭할 수 있음 (up)

1.7.11.1. 메서드

1.7.11.1.1. change_plan이란?

1.7.12. CAS drop (up)

1.7.12.1. 메서드

1.7.12.1.1. login_url
1.7.12.1.2. user_identified?

1.7.13. 계약 드롭 (up)

Plan of the contract {{ contract.plan.name }}

1.7.13.1. 메서드

1.7.13.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ contract.errors.name | inline_errors }}
1.7.13.1.2. id

id를 반환합니다.

1.7.13.1.3. can_change_plan?

모든 변경이 가능한 경우 true를 반환합니다.

1.7.13.1.4. 평가판은 무엇입니까?

계약이 아직 시험 기간에 있는 경우 true를 반환합니다.

참고

계획의 평가판 기간을 변경하면 기존 계약에 영향을 미치지 않습니다.

1.7.13.1.5. 라이브?
1.7.13.1.6. 상태

세 가지 가능한 상태가 있습니다.

    - pending
    - live
    - suspended
1.7.13.1.7. remaining_trial_period_days

시험 기간에 남은 날의 수입니다.

1.7.13.1.8. 계획

계약 계획을 반환합니다.

1.7.13.1.9. plan_change_permission_name

지정된 작업의 이름을 반환합니다.

1.7.13.1.10. plan_change_permission_warning

허용된 작업의 경고 전달자를 반환합니다.

1.7.13.1.11. 계약

1.7.14. 국가 드롭 (up)

1.7.14.1. 메서드

1.7.14.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ country.errors.name | inline_errors }}
1.7.14.1.2. to_str
1.7.14.1.3. 코드
1.7.14.1.4. label

1.7.15. Field 드롭 (up)

1.7.15.1. 메서드

1.7.15.1.1. value

국가의 ID를 반환합니다.

{{ account.fields.country.value }} => 42

compare with:

{{ account.fields.country }} => 'United States'
1.7.15.1.2. name

필드의 시스템 이름을 반환합니다.

1.7.15.1.3. 필수 항목
1.7.15.1.4. 숨겨져 있습니까?
1.7.15.1.5. hidden
1.7.15.1.6. 눈에 띄는?
1.7.15.1.7. 표시됨
1.7.15.1.8. read_only
1.7.15.1.9. 오류
1.7.15.1.10. input_name
1.7.15.1.11. html_id
1.7.15.1.12. label

필드의 레이블을 반환합니다.

{{ account.fields.country.label }}
<!-- => 'Country' -->
1.7.15.1.13. to_str

국가 이름을 반환합니다.

{{ account.fields.country }} => 'United States'
1.7.15.1.14. 선택

1.7.16. currentUser 드롭 (up)

1.7.16.1. 메서드

1.7.16.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ current_user.errors.name | inline_errors }}
1.7.16.1.2. 관리자?

사용자가 관리자인지 여부를 반환합니다.

{% if user.admin? %}
  <p>You are an admin of your account.</p>
{% endif %}
1.7.16.1.3. 사용자 이름

사용자 이름인 html 이스케이프를 반환합니다.

1.7.16.1.4. 계정

사용자 계정을 반환합니다.

1.7.16.1.5. name

사용자의 이름과 첫 번째 이름을 반환합니다.

1.7.16.1.6. email

사용자의 이메일을 반환합니다.

1.7.16.1.7. password_required?

이 방법은 Janrain, CAS 또는 기타 SSO(Single-sign-On) 방법을 통해 인증된 기본 개발자 포털 인증 메커니즘을 사용하는 사용자에게 true 를 반환합니다.

{{ if user.password_required? }}


{{ endif }}
1.7.16.1.8. 섹션

사용자가 액세스할 수 있는 섹션 목록을 반환합니다.

{% if user.sections.size > 0 %}
  <p>You can access following sections of our portal:</p>
   <ul>
    {% for section in user.sections %}
      <li>{{ section }}</li>
    {% endfor %}
  </ul>
{% endif %}
1.7.16.1.9. role

사용자의 역할을 반환합니다.

1.7.16.1.10. roles_collection

사용자에 대해 사용 가능한 역할 목록 가져오기Get a list of available roles for the user

{% for role in user.roles_collection %}
  <li>
    <label for="user_role_{{ role.key }}">

      {{ role.text&nbsp;}}
    </label>
    </li>
  {% endfor %}
1.7.16.1.11. url

사용자의 리소스 URL을 반환합니다.

{{ 'Delete' | delete_button: user.url }}
1.7.16.1.12. edit_url

사용자를 편집할 URL을 반환합니다.

{{ 'Edit' | link_to: user.edit_url, title: 'Edit', class: 'action edit' }}
1.7.16.1.13. 수행 가능

설정 및 사용자 역할에 따라 현재 사용자의 권한을 노출합니다. 반환된 오브젝트에서 이러한 메서드를 호출할 수 있습니다.

  • invite_user?
  • create_application?
  • see_log_requests?
{% if current_user.can.see_log_requests? and application.log_requests? %}
   (<a href="{{ application.log_requests_url }}" class="action edit">App Request Log</a>)
{% endif %}
1.7.16.1.14. extra_fields

이 사용자의 값을 사용하여 숨기지 않은 추가 필드를 반환합니다. 예: 모든 추가 필드를 인쇄합니다.

{% for field in user.extra_fields %}
  {{ field.label }}: {{ field.value }}
{% endfor %}
1.7.16.1.15. 필드

이 사용자의 값을 사용하여 모든 필드를 반환합니다. 예: 모든 필드를 인쇄합니다.

{% for field in user.fields %}
  {{ field.label }}: {{ field.value }}
{% endfor %}
1.7.16.1.16. builtin_fields

이 사용자의 값이 포함된 기본 제공 필드를 반환합니다.

1.7.17. 오류 드롭 (up)

유효하지 않은 데이터로 인해 폼을 제출하지 못하면 관련 모델에서 errors array를 사용할 수 있습니다.

1.7.17.1. 메서드

1.7.17.1.1. attribute

이 오류에 대한 모델의 특성을 반환합니다.

{{ account.errors.org_name.first.attribute }}
<!-- org_name -->
1.7.17.1.2. message

오류에 대한 설명을 반환합니다.

{{ account.errors.first.message }}
<!-- cannot be blank -->
1.7.17.1.3. value

오류가 관련된 속성의 값을 반환합니다.

{{ account.errors.org_name.first.value }}
 <!-- => "ACME Co." -->
1.7.17.1.4. to_str

오류에 대한 전체 설명을 반환합니다(특성 이름 포함).

{{ model.errors.first }}
<!-- => "Attribute can't be blank" -->

1.7.18. 오류 드롭 (up)

예: 모든 오류를 가져옵니다.

{% for error in form.errors %}
  attribute: {{ error.attribute }}
  ...
{% endfor %}

1.7.18.1. 메서드

1.7.18.1.1. 비어 있는?

오류가 없는 경우 true를 반환합니다.

{% if form.errors == empty %}
  Congratulations! You have no errors!
{% endif %}
1.7.18.1.2. 현재?

몇 가지 오류가 있는 경우 true를 반환합니다.

{% if form.errors == present %}
  Sorry, there were some errors.
{% endif %}

1.7.19. 기능 드롭 (up)

1.7.19.1. 메서드

1.7.19.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ feature.errors.name | inline_errors }}
1.7.19.1.2. name

기능 이름을 반환합니다.

<h2>Feature {{ feature.name }}</h2>
1.7.19.1.3. description

기능에 대한 설명을 반환합니다.

1.7.19.1.4. has_description?

기능에 설명이 있는지 여부를 반환합니다.

{% if feature.has_description? %}
  {{ feature.description }}
{% else %}
   This feature has no description.
{% endif %}

1.7.20. 필드 드롭 (up)

1.7.20.1. 메서드

1.7.20.1.1. value

필드의 값을 반환합니다.

Name: {{ account.fields.first_name.value }}
1.7.20.1.2. name

필드의 시스템 이름을 반환합니다.

1.7.20.1.3. 필수 항목
1.7.20.1.4. 숨겨져 있습니까?
1.7.20.1.5. hidden
1.7.20.1.6. 눈에 띄는?
1.7.20.1.7. 표시됨
1.7.20.1.8. read_only
1.7.20.1.9. 오류
1.7.20.1.10. input_name

폼을 제출할 때 예상되는 HTML 입력의 이름을 반환합니다.

<!-- the 'name' attribute will be 'account[country]' -->
1.7.20.1.11. html_id

일반적으로 HTML ID 속성으로 사용되는 고유 필드 식별자를 반환합니다.

{{ account.fields.country.html_id }}
<!--  => 'account_country' -->
1.7.20.1.12. label

필드의 레이블을 반환합니다.

{{ account.fields.country.label }}
<!-- => 'Country' -->
1.7.20.1.13. to_str

변수로 사용되는 경우 필드의 값을 반환합니다.

{{ account.fields.first_name }} => 'Tom'
1.7.20.1.14. 선택

해당 필드에 사용할 수 있는 선택 사항 배열을 반환합니다(있는 경우). 예를 들어, " bannana', 'orange'] 로 응답 할 수 있습니다.

DestinationRule > 계정 > 설정 > 필드 정의의 3scale 관리 포털에서 선택 항목을 정의 할 수 있습니다. 각 배열 요소는 필드가 특수한 내장 항목(예: 국가 등)이 아닌 경우 일반적으로 동일합니다. idlabel that are usually just the same unless the field is a special builtin one (like country). 향후 호환성을 위해 'as is' 선택 사항을 출력하지 않고 이러한 방법을 사용하는 것이 좋습니다.

{% for choice in field.choices %}
  <select name="{{ field.input_name }}" id="{{ field.html_id }}_id"
          class="{{ field.errors | error_class }}">
  <option {% if field.value == choice %} selected {% endif %} value="{{ choice.id }}">
    {{ choice }}
  </option>
{% endfor %}

1.7.21. Flash drop (up)

1.7.21.1. 메서드

1.7.21.1.1. 메시지

메시지 배열을 반환합니다.

{% for message in flash.messages %}
   <p id="flash-{{ message.type }}">
     {{ message.text }}
   </p>
{% endfor %}

1.7.22. 포럼 드롭 (up)

1.7.22.1. 메서드

1.7.22.1.1. 활성화되어 있습니까?

포럼 기능을 활성화한 경우 true 를 반환합니다.

{% if forum.enabled? %}
  <a href="/forum">Check out our forum!</a>
{% endif %}
1.7.22.1.2. latest_posts

1.7.23. I18n 드롭 (up)

i18n 지원에 유용한 문자열을 제공합니다.

{{ object.some_date | date: i18n.long_date }}

1.7.23.1. 메서드

1.7.23.1.1. short_date

%b %d의 별칭

Dec 11
1.7.23.1.2. long_date

%B %d, %Y의 별칭

December 11, 2013
1.7.23.1.3. default_date

%Y-%m-%d의 별칭

2013-12-11

1.7.24. 초대 드롭 (up)

 Email: {{ invitation.email }}


<tr id="invitation_{{ invitation.id }}">
  <td> {{ invitation.email }} </td>
  <td> {{ invitation.sent_at | date: i18n.short_date }} </td>
  <td>
    {% if invitation.accepted? %}
      yes, on {{invitation.accepted_at | format: i18n.short_date }}
    {% else %}
      no
    {% endif %}
  </td>
</tr>

1.7.24.1. 메서드

1.7.24.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ invitation.errors.name | inline_errors }}
1.7.24.1.2. email

이메일 주소를 반환합니다.

1.7.24.1.3. 수락됩니까?

초대가 수락되면 true를 반환합니다.

1.7.24.1.4. accepted_at

초대가 수락된 경우 날짜를 반환합니다.

{{ invitation.accepted_at | date: i18n.short_date }}
1.7.24.1.5. sent_at

생성 날짜를 반환합니다.

{{ invitation.sent_at | date: i18n.short_date }}
1.7.24.1.6. resend_url

초대를 다시 보내기 위해 URL을 반환합니다.

{{ "Resend" | update_button: invitation.resend_url}}
1.7.24.1.7. url

리소스 URL을 반환합니다.

{{ "Delete" | delete_button: invitation.url }}

1.7.25. 송장 드롭 (up)

1.7.25.1. 메서드

1.7.25.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ invoice.errors.name | inline_errors }}
1.7.25.1.2. friendly_id

친숙한 ID를 반환합니다.

<td> {{ invoice.id }} </td>
<td> {{ invoice.name }} </td>
<td> {{ invoice.state }} </td>
<td> {{ invoice.cost }} {{ invoice.currency }} </td>
1.7.25.1.3. name

월과 연도로 구성된 문자열입니다.

1.7.25.1.4. 상태
1.7.25.1.5. cost

두 개의 10진수가 있는 숫자를 반환합니다.

23.00
1.7.25.1.6. cutin
1.7.25.1.7. cost_without_vat

value가 없는 경우 값을 반환합니다.

1.7.25.1.8. vat_amount

vat 양을 반환합니다.

1.7.25.1.9. exists_pdf?

PDF가 생성된 경우 true를 반환합니다.

1.7.25.1.10. period_begin
{{ invoice.period_begin | date: i18n.short_date }}
1.7.25.1.11. period_end
{{ invoice.period_end | date: i18n.long_date }}
1.7.25.1.12. issued_on
{{ invoice.issued_on | date: i18n.long_date }}
1.7.25.1.13. due_on
{{ invoice.due_on | date: i18n.long_date }}
1.7.25.1.15. vat_code
1.7.25.1.16. fiscal_code
1.7.25.1.17. 계정

AccountDrop을 반환합니다.

1.7.25.1.18. buyer_account
1.7.25.1.19. line_items

LineItemDrop 배열을 반환합니다.

{% for line_item in invoice.line_items %}
  <tr class="line_item {% cycle 'odd', 'even' %}">
    <th>{{ line_item.name }}</th>
    <td>{{ line_item.description }}</td>
    <td>{{ line_item.quantity }}</td>
    <td>{{ line_item.cost }}</td>
  </tr>
{% endfor %}
1.7.25.1.20. payment_transactions

paymentTransactionDrop 배열을 반환합니다.

{% for payment_transaction in invoice.payment_transactions %}
  <tr>
    <td> {% if payment_transaction.success? %} Success {% else %} Failure {% endif %} </td>
    <td> {{ payment_transaction.created_at }} </td>
    <td> {{ payment_transaction.reference }} </td>
    <td> {{ payment_transaction.message }} </td>
    <td> {{ payment_transaction.amount }} {{ payment_transaction.currency }} </td>
  </tr>
{% endfor %}
1.7.25.1.21. url

송장의 리소스 URL을 반환합니다.

{{ "Show" | link_to: invoice.url }}
1.7.25.1.22. pdf_url

송장 PDF의 리소스 URL을 반환합니다.

{{ "PDF" | link_to: invoice.pdf_url }}

1.7.26. Janrain 드롭 (up)

1.7.26.1. 메서드

1.7.26.1.1. login_url
1.7.26.1.2. user_identified?
1.7.26.1.3. session_url
1.7.26.1.4. relying_party

1.7.27. Lineitem 드롭 (up)

1.7.27.1. 메서드

1.7.27.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ line_item.errors.name | inline_errors }}
1.7.27.1.2. name
{% for line_item in invoice.line_items %}
  <tr class="line_item {% cycle 'odd', 'even' %}">
    <th>{{ line_item.name }}</th>
    <td>{{ line_item.description }}</td>
    <td>{{ line_item.quantity }}</td>
    <td>{{ line_item.cost }}</td>
  </tr>
{% endfor %}
1.7.27.1.3. description
1.7.27.1.4. 수량
1.7.27.1.5. cost

1.7.28. 메시지 삭제 (up)

1.7.28.1. 메서드

1.7.28.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ message.errors.name | inline_errors }}
1.7.28.1.2. id

메시지의 ID를 반환합니다.

1.7.28.1.3. 제목

제목이 없으면 잘린 본문 또는 (주체 없음) 문자열이 반환됩니다.

1.7.28.1.4. body

메시지의 본문입니다.

1.7.28.1.5. created_at

생성 날짜를 반환합니다.

{{ message.created_at | date: i18n.short_date }}
1.7.28.1.6. url

메시지 세부 정보의 URL은 받은 편지함 또는 상자를 가리킵니다.

1.7.28.1.7. 상태

'read' 또는 'read' 중 하나입니다.

1.7.28.1.8. 발신자

보낸 사람의 이름을 반환합니다.

1.7.28.1.9. 다음으로 변경

수신자 이름을 반환합니다.

1.7.28.1.10. 게이버

1.7.29. 메시지 삭제 (up)

1.7.29.1. 메서드

1.7.29.1.1. type

가능한 메시지 유형은 다음과 같습니다.

  • 성공 (현재는 사용되지 않음)
  • info
  • 경고
  • Poisony
1.7.29.1.2. text

1.7.30. 지표 드롭 (up)

1.7.30.1. 메서드

1.7.30.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ metric.errors.name | inline_errors }}
1.7.30.1.2. 단위

메트릭의 단위를 반환합니다.

This metric is measured in {{ metric.unit | pluralize }}
1.7.30.1.3. description

메트릭에 대한 설명을 반환합니다.

1.7.30.1.4. name

메트릭의 이름을 반환합니다.

<h4>Metric {{ metric.name }}</h4>
<p>{{ metric.description }}</p>
1.7.30.1.5. system_name

이 메트릭의 시스템 이름을 반환합니다.

<h4>Metric {{ metric.name }}</h4>
<p>{{ metric.system_name }}</p>
1.7.30.1.6. usage_limits

메트릭의 사용량 제한을 반환합니다.

{% if metric.usage_limits.size > 0 %}
   <p>Usage limits of the metric</p>
   <ul>
     {% for usage_limit in metric.usage_limits %}
       <li>{{ usage_limit.period }} : {{ usage_limit.value }}</li>
     {% endfor %}
   </ul>
 {% else %}
   <p>This metric has no usage limits</p>
{% endif %}
1.7.30.1.7. pricing_rules

메트릭의 가격 규칙을 반환합니다.

{% if metric.pricing_rules.size > 0 %}
  <p>Pricing rules of the metric</p>
  <ul>
  {% for pricing_rule in metric.pricing_rules %}
    <li>{{ pricing_rule.cost_per_unit }}</li>
  {% endfor %}
  </ul>

{% else %}
  <p>This metric has no pricing rules</p>
{% endif %}
1.7.30.1.8. has_parent

1.7.31. 페이지 드롭 (up)

1.7.31.1. 메서드

1.7.31.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ page.errors.name | inline_errors }}
1.7.31.1.2. title

페이지 제목을 반환합니다.

<title>{{ page.title }}</title>
1.7.31.1.3. system_name

페이지의 시스템 이름을 반환합니다.

{% if page.system_name == 'my_page' %}
  {% include 'custom_header' %}
{% endif %}

1.7.32. 페이지 드롭 (up)

1.7.32.1. 메서드

1.7.32.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ page.errors.name | inline_errors }}
1.7.32.1.2. title
1.7.32.1.3. kind
1.7.32.1.4. url
1.7.32.1.5. description

1.7.33. pagination drop (up)

1.7.33.1. 메서드

1.7.33.1.1. page_size

하나의 전체 페이지에 있는 항목 수입니다.

  {% for part in pagination.parts %}
    {% if part.is_link %}
      {% case part.rel %}
      {% when 'previous' %}
        {% assign css_class = 'previous_page' %}
      {% when 'next' %}
        {% assign css_class = 'next_page' %}
      {% else %}
        {% assign css_class = '' %}
      {% endcase %}

      <a class="{{ css_class }}" rel="{{ part.rel}}" href="{{ part.url }}">{{ part.title }}</a>
    {% else %}
      {% case part.rel %}
      {% when 'current' %}
         <em class="current">{{ part.title }}</em>
      {% when 'gap' %}
         &#x2026;
      {% else %}
         {{ part.title }}
      {% endcase %}
    {% endif %}
  {% endfor %}


<!-- Outputs:
  ============================================

  <a class="previous_page" rel="prev" href="?page=7">&#x2190; Previous</a>
  <a rel="start" href="?page=1">1</a>
  <a href="?page=2">2</a>
  <a href="?page=3">3</a>
  <a href="?page=4">4</a>
  <a href="?page=5">5</a>
  <a href="?page=6">6</a>
  <a rel="prev" href="?page=7">7</a>
  <em class="current">8</em>
  <a rel="next" href="?page=9">9</a>
  <a href="?page=10">10</a>
  <a href="?page=11">11</a>
  <a href="?page=12">12</a>
  &#x2026;
  <a href="?page=267">267</a>
  <a href="?page=268">268</a>
  <a class="next_page" rel="next" href="?page=9">Next &#x2192;</a>

=======================================
-->
1.7.33.1.2. current_page

현재 선택한 페이지의 수입니다.

1.7.33.1.3. current_offset

지금까지 건너뛴 항목입니다.

1.7.33.1.4. 페이지

총 페이지 수입니다.

1.7.33.1.5. 항목

모든 페이지의 총 항목 수입니다.

1.7.33.1.6. 이전

이전 페이지 또는 비어 있는 수입니다.

1.7.33.1.7. 다음

다음 페이지의 수 또는 비어 있습니다.

1.7.33.1.8. parts

사용자에게 친숙한 페이지를 렌더링하는 데 도움이 되는 요소입니다. 자세한 내용은 [part-drop[part drop]을 참조하십시오.

1.7.34. 파트 드롭 (up)

1.7.34.1. 메서드

1.7.34.1.1. url
1.7.34.1.2. rel
1.7.34.1.3. 현재?
1.7.34.1.5. title
1.7.34.1.6. ~_s

1.7.35. (up)Gateway drop (up)

1.7.35.1. 메서드

1.7.35.1.1. braintree_blue

현재 결제 게이트웨이가 braintree>-<s.com인지 여부를 반환합니다.

1.7.35.1.2. authorize_net?

현재 결제 게이트웨이가 authorize.Net인지 여부를 반환합니다.

1.7.35.1.3. type

이 결제 게이트웨이 유형을 반환합니다.

1.7.36. Transaction drop (up)

1.7.36.1. 메서드

1.7.36.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ payment_transaction.errors.name | inline_errors }}
1.7.36.1.2. cutin

통화를 반환합니다.

{% for payment_transaction in invoice.payment_transactions %}
  <tr>
    <td> {% if payment_transaction.success? %} Success {% else %} Failure {% endif %} </td>
    <td> {{ payment_transaction.created_at }} </td>
    <td> {{ payment_transaction.reference }} </td>
    <td> {{ payment_transaction.message }} </td>
    <td> {{ payment_transaction.amount }} {{ payment_transaction.currency }} </td>
  </tr>
{% endfor %}
1.7.36.1.3. amount

수량을 반환합니다.

1.7.36.1.4. created_at

생성 날짜를 반환합니다.

1.7.36.1.5. 성공?

성공인 경우 true를 반환합니다.

1.7.36.1.6. message

트랜잭션의 메시지를 반환합니다.

1.7.36.1.7. reference

참조를 반환합니다.

1.7.37. PlanFeature drop (up)

1.7.37.1. 메서드

1.7.37.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ plan_feature.errors.name | inline_errors }}
1.7.37.1.2. name

기능 이름을 반환합니다.

<h2>Feature {{ feature.name }}</h2>
1.7.37.1.3. description

기능에 대한 설명을 반환합니다.

1.7.37.1.4. has_description?

기능에 설명이 있는지 여부를 반환합니다.

{% if feature.has_description? %}
  {{ feature.description }}
{% else %}
   This feature has no description.
{% endif %}
1.7.37.1.5. 활성화되어 있습니까?

1.7.38. 삭제 후 (up)

1.7.38.1. 메서드

1.7.38.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ post.errors.name | inline_errors }}
1.7.38.1.2. body

Post의 텍스트입니다.

1.7.38.1.3. 주제

모든 내용은 [topic-drop[topic]]에 있습니다.

1.7.38.1.4. created_at

이 게시물이 생성된 날짜입니다.

{{ post.created_at | date: i18n.short_date }}
1.7.38.1.5. url

주제 내의 이 게시물의 URL입니다.

1.7.39. 삭제 후 (up)

1.7.39.1. 메서드

1.7.39.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ post.errors.name | inline_errors }}
1.7.39.1.2. title
1.7.39.1.3. kind
1.7.39.1.4. url
1.7.39.1.5. description

1.7.40. Rule drop (up)

1.7.40.1. 메서드

1.7.40.1.1. cost_per_unit

가격 규칙의 단위당 비용을 반환합니다. 예: 유동에서 가격 책정 규칙 사용.

<h2>Pricing rule</h2>
Min value {{ pricing_rule.min }}
Max value {{ pricing_rule.max }}
Cost per unit {{ pricing_rule.cost_per_unit }}
1.7.40.1.2. min

가격 규칙의 최소값을 반환합니다.

1.7.40.1.3. 최대

가격 규칙의 최대값을 반환합니다.

1.7.40.1.4. 계획

가격 규칙에 대한 계획을 반환합니다.

1.7.41. 공급자 드롭 (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. 시간대

사용하는 시간대를 반환합니다. 관리 포털에서 시간대를 변경할 수 있습니다. Dashboard > Account Settings 을 선택합니다. 개요 페이지에서 계정 세부 정보 까지 아래로 스크롤하고 편집 을 클릭하고 시간대 필드를 수정합니다.

1.7.41.1.5. support_email

계정 이메일 지원

1.7.41.1.6. finance_support_email

계정의 financial 지원 이메일

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. openssl_allowed?
1.7.41.1.12. multiple_users_allowed?

개발자 계정에 연결된 여러 로그인이 있을 수 있는 경우 True입니다. 이는 3scale 계획에 따라 다르며, Admin Portal의 Admin Portal에서 개발자 포털에 대한 가시성이 설정되어 있는 경우 > Developer Portal > Feature Gettsibility.

{% 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?

Audience > Accounts > Settings > Usage Rules 의 3scale 관리 포털에서 서명을 활성화하거나 비활성화할 수 있습니다.

1.7.41.1.16. account_management_enabled?

Audience > Accounts > Settings > Usage Rules 의 3scale 관리 포털에서 계정 관리를 활성화하거나 비활성화할 수 있습니다.

1.7.42. ReferrerFilter 드롭 (up)

1.7.42.1. 메서드

1.7.42.1.1. id
1.7.42.1.2. value
1.7.42.1.3. delete_url
1.7.42.1.4. 애플리케이션

1.7.43. 요청 드롭 (up)

예: 유동성에서 요청 드롭 사용.

<h2>Request details</h2>
URI {{ request.request_uri }}
Host {{ request.host }}
Host and port {{ request.host_with_port }}

1.7.43.1. 메서드

1.7.43.1.1. request_uri

요청의 URI를 반환합니다.

1.7.43.1.2. host_with_port

요청 포트와 함께 호스트를 반환합니다.

1.7.43.1.3. host

요청 URL의 호스트 부분을 반환합니다.

1.7.43.1.4. 경로

요청 URL의 경로 부분을 반환합니다.

{% if request.path == '/' %}
  Welcome on a landing page!
{% else %}
  This just an ordinary page.
{% endif %}

1.7.44. 역할 드롭 (up)

1.7.44.1. 메서드

1.7.44.1.1. name

시스템에 중요한 역할의 내부 이름을 반환합니다.

1.7.44.1.2. description

역할에 대한 설명이 포함된 텍스트를 반환합니다.

1.7.45. 검색 드롭 다운 (up)

1.7.45.1. 메서드

1.7.45.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ search.errors.name | inline_errors }}
1.7.45.1.2. query

검색된 문자열을 반환합니다.

<h3>{{ search.token }}</h3>
<p>found on {{ search.total_found }} {{ search.item | pluralize }} </p>
<dl>
  {% for result in search.results %}
    <dt>
       [ {{ result.kind | capitalize}} ]
      {{ result.title | link_to: result.url }}
    </dt>
    <dd>
      {{ result.description }}
    </dd>
  {% endfor %}
</dl>
1.7.45.1.3. total_found

일치하는 요소 수를 반환합니다.

1.7.45.1.4. 결과

큐 검색에 대한 결과 배열을 반환합니다.

1.7.46. 서비스 드롭 (up)

1.7.46.1. 메서드

1.7.46.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ 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 do not 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

현재 로그인한 사용자가 이 서비스에 가입된 경우, Nil otherwise, subscription(ServiceContract drop)을 반환합니다.

{% 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 the 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 키' 또는 '클라이언트 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. 메트릭

서비스의 지표를 반환합니다.

<p>On {{ service.name }} we measure the following metrics:</p>
<ul>
{% for metric in service.metrics %}
  <li>{{ metric.name }}</li>
{% endfor %}
</ul>
1.7.46.1.17. support_email

서비스 이메일 지원

1.7.47. ServiceContract drop (up)

1.7.47.1. 메서드

1.7.47.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ service_contract.errors.name | inline_errors }}
1.7.47.1.2. id
1.7.47.1.3. can_change_plan?

모든 변경이 가능한 경우 true를 반환합니다.

1.7.47.1.4. 평가판은 무엇입니까?

계약이 아직 시험 기간에 있는 경우 true를 반환합니다.

참고

계획의 평가판 기간을 변경하면 기존 계약에 영향을 미치지 않습니다.

1.7.47.1.5. 라이브?
1.7.47.1.6. 상태

세 가지 가능한 상태가 있습니다.

    - pending
    - live
    - suspended
1.7.47.1.7. remaining_trial_period_days

시험 기간에 남은 날의 수입니다.

1.7.47.1.8. 계획

계약 계획을 반환합니다.

1.7.47.1.9. plan_change_permission_name

허용된 작업의 이름을 반환합니다.

1.7.47.1.10. plan_change_permission_warning

허용된 작업의 경고 전달자를 반환합니다.

1.7.47.1.11. 계약
1.7.47.1.12. name
1.7.47.1.13. system_name
1.7.47.1.14. change_plan_url
1.7.47.1.15. service
1.7.47.1.16. 애플리케이션
1.7.47.1.17. 수행 가능

해당 서브스크립션에 대한 현재 사용자의 특정 권한을 노출합니다.

{% if subscription.can.change_plan? %}
  ...
{% endif %}

1.7.48. SERVICEPLAN 드롭 (up)

1.7.48.1. 메서드

1.7.48.1.1. 선택된?

계획이 선택되었는지 여부를 반환합니다.

{% if plan.selected? %}
  <p>You will signup to {{ plan.name }}</p>
{% endif %}
1.7.48.1.2. 손실됨?

계획이 구매되었는지 여부를 반환합니다.

{% if plan.bought? %}
   <p>You are  on this plan already!</p>
{% endif %}
1.7.48.1.3. 기능

계획의 표시 기능을 반환합니다.

{% if plan == my_free_plan %}
   <p>These plans are the same.</p>
{% else %}
   <p>These plans are not the same.</p>
{% endif %}
1.7.48.1.4. setup_fee

계획의 설정 비용을 반환합니다.

1.7.48.1.5. name

계획의 이름을 반환합니다.

<h2>We offer you a new {{ plan.name }} plan!</h2>
1.7.48.1.6. system_name

계획의 시스템 이름을 반환합니다.

{% for plan in available_plans %}
  {% if plan.system_name == 'my_free_plan' %}

    <p>You will buy our only free plan!</p>
  {% endif %}
{% endfor %}
1.7.48.1.7. id

계획 ID를 반환합니다.

1.7.48.1.8. 무료입니까?

그렇지 않으면 계획이 자유롭습니다. paid? 방법을 참조하십시오.

{% if plan.free? %}
   <p>This plan is free of charge.</p>
{% else %}

     <p>Plan costs</p>
     Setup fee {{ plan.setup_fee }}
     Flat cost {{ plan.flat_cost }}

{% endif %}
1.7.48.1.10. approval_required

계획에 승인이 필요한지 여부를 반환합니다.

{% if plan.approval_required? %}
   <p>This plan requires approval.</p>
{% endif %}
1.7.48.1.11. flat_cost

계획의 월간 고정 요금을 반환합니다.

1.7.48.1.12. service

예: 유동에서 서비스 계획 드롭 사용.

<p class="notice">The examples for plan drop apply here</p>
Service of this plan {{ plan.service.name }}

1.7.49. 시간대 드롭 (up)

1.7.49.1. 메서드

1.7.49.1.1. full_name
1.7.49.1.2. to_str

1.7.50. 오늘 삭제 (up)

1.7.50.1. 메서드

1.7.50.1.1. month

현재 월 (1-12)을 반환합니다.

1.7.50.1.2. day

달의 현재 날짜 (1-31)를 반환합니다.

1.7.50.1.3. year

현재 연도를 반환합니다. 예: 동적 저작권 생성.

&copy;{{ today.year }}
1.7.50.1.4. beginning_of_month

현재 달의 시작 날짜를 반환합니다.

This month began on {{ today.beginning_of_month | date: '%A' }}

1.7.51. 주제 드롭다운 (up)

1.7.51.1. 메서드

1.7.51.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ topic.errors.name | inline_errors }}
1.7.51.1.2. title
1.7.51.1.3. kind
1.7.51.1.4. url
1.7.51.1.5. description

1.7.52. 주제 드롭다운 (up)

1.7.52.1. 메서드

1.7.52.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ topic.errors.name | inline_errors }}
1.7.52.1.2. title

주제의 이름입니다. 스레드에 처음 게시될 때 제출됩니다.

1.7.52.1.3. url

1.7.53. URL 드롭 (up)

1.7.53.1. 메서드

1.7.53.1.1. ~_s
1.7.53.1.2. to_str
1.7.53.1.3. title
1.7.53.1.4. current_or_subpath?

true 현재 페이지의 경로가 URL에 대한 경로와 동일하거나 직접 하위 경로 인 경우, 즉 ID로 확장됩니다. 예를 들어 {{ urls.outbox }} 를 사용하면 true가 반환됩니다.

  • /admin/sent/messages/received
  • /admin/sent/messages/received/42

그러나 이러한 것은 아닙니다.

  • /admin/sent/messsages/new
  • /admin/sent/messsages/longer/subpath

자세한 내용은 '#active?', '#current?'를 참조하십시오.

1.7.53.1.5. 현재?

URL 경로가 현재 경로와 동일한 경우 True입니다. 매개변수 및 기타 구성 요소는 고려하지 않습니다. 자세한 내용은 #active?를 참조하십시오.

{% assign url = urls.messages_inbox %}
<!-- => http://awesome.3scale.net/admin/messages/sent -->

<!-- Current page: http://awesome.3scale.net/admin/messages/sent?unread=1 -->
{{ url.current? }} => true

<!-- Current page: http://awesome.3scale.net/admin/messages -->
{{ url.current? }} => false
1.7.53.1.6. 활성 상태입니까?

현재 페이지가 이 URL과 동일한 메뉴 구조에 있는 경우 True입니다. #current? 을 참조하십시오.

{% assign url = urls.messages_inbox %}
<!-- => http://awesome.3scale.net/admin/messages/sent -->

<!-- Current page: http://awesome.3scale.net/admin/messages -->
{{ url.active? }} => true

<!-- Current page: http://awesome.3scale.net/admin/messages/trash -->
{{ url.active? }} => true

<!-- Current page: http://awesome.3scale.net/admin/stats -->
{{ url.active? }} => false

1.7.54. URL 드롭 (up)

1.7.54.1. 메서드

1.7.54.1.1. 공급자
1.7.54.1.2. cas_login
<a href="{{ urls.signup }}">signup here</a>
<a href="{{ urls.service_subscription }}">subscribe to a service here</a>
1.7.54.1.3. new_application
1.7.54.1.4. 등록하기

가입 페이지의 URL입니다. 모두에 액세스할 수 있습니다.

<a href="{{ urls.signup }}?{{ service_plan | param_filter }}&{{ app_plan | param_filter }}" >Signup Now!</a>
1.7.54.1.6. login
1.7.54.1.7. logout
1.7.54.1.8. forgot_password
1.7.54.1.9. service_subscription

서비스 서브스크립션 페이지에 대한 URL입니다. 로그인한 사용자에게만 해당합니다.

<a href="{{ urls.service_subscription }}?{{ service_plan | param_filter }}" >
  Subscribe to service {{ service.name }}
</a>
1.7.54.1.10. compose_message

개발자가 내부 메시징 시스템을 통해 공급자에게 연락할 수 있는 페이지의 URL입니다.

1.7.54.1.11. messages_outbox

개발자가 보낸 메시지 목록에 대한 URL입니다.

1.7.54.1.12. messages_trash
1.7.54.1.13. empty_messages_trash
1.7.54.1.14. credit_card_terms
1.7.54.1.15. credit_card_privacy
1.7.54.1.16. credit_card_refunds
1.7.54.1.17. 사용자
1.7.54.1.18. personal_details

사용자 계정 관리가 비활성화된 경우 URL 또는 Nil입니다. Audience > Accounts > Settings > Usage Rules 의 3scale 관리 포털에서 사용 규칙을 확인합니다.

1.7.54.1.19. access_details

API 키 및 기타 인증 정보가 있는 페이지입니다. 인증 전략에 따라 다릅니다.

1.7.54.1.20. payment_details
1.7.54.1.21. new_invitation

새 사용자를 초대하기 위한 페이지입니다.

1.7.54.1.22. 초대

보낸 모든 초대 목록

1.7.54.1.23. 대시보드
1.7.54.1.24. 애플리케이션
1.7.54.1.25. api_access_details
1.7.54.1.26. services
1.7.54.1.27. messages_inbox

수신된 메시지 목록에 대한 URL입니다.

1.7.54.1.28. 통계
1.7.54.1.29. account_overview
1.7.54.1.30. account_plans
1.7.54.1.31. 송장

1.7.55. UsageLimit drop (up)

예: 유동에서 사용량 제한 드롭 사용.

You cannot do more than {{ limit.value }} {{ limit.metric.unit }}s per {{ limit.period }}

1.7.55.1. 메서드

1.7.55.1.1. 기간

사용 제한 기간을 반환합니다.

1.7.55.1.2. 메트릭

일반적으로 히트 는 발생하지만 사용자 지정 방법이 될 수 있습니다.

1.7.55.1.3. value

사용량 제한의 값을 반환합니다.

1.7.56. 사용자 드롭 (up)

<h2>User {{ user.display_name }}</h2>
Account {{ user.account.name }}
Username {{ user.username }}
Email {{ user.email }}
Website {{ user.website }}

1.7.56.1. 메서드

1.7.56.1.1. 오류

실패한 제출 후 이 모델의 형식을 렌더링하면 발생한 오류가 반환됩니다.

{{ user.errors.name | inline_errors }}
1.7.56.1.2. 관리자?

사용자가 관리자인지 여부를 반환합니다.

{% if user.admin? %}
  <p>You are an admin of your account.</p>
{% endif %}
1.7.56.1.3. 사용자 이름

사용자 이름인 html 이스케이프를 반환합니다.

1.7.56.1.4. 계정

사용자 계정을 반환합니다.

1.7.56.1.5. name

사용자의 이름과 첫 번째 이름을 반환합니다.

1.7.56.1.6. email

사용자의 이메일을 반환합니다.

1.7.56.1.7. password_required?

이 방법은 Janrain, CAS 또는 기타 SSO(Single-sign-On) 방법을 통해 인증된 기본 개발자 포털 인증 메커니즘을 사용하는 사용자에게 true 를 반환합니다.

{% if user.password_required? %}


{% endif %}
1.7.56.1.8. 섹션

사용자가 액세스할 수 있는 섹션 목록을 반환합니다.

{% if user.sections.size > 0 %}
  <p>You can access following sections of our portal:</p>
   <ul>
    {% for section in user.sections %}
      <li>{{ section }}</li>
    {% endfor %}
  </ul>
{% endif %}
1.7.56.1.9. role

사용자의 역할을 반환합니다.

1.7.56.1.10. roles_collection

Retuns a list of available roles for the user.

{% for role in user.roles_collection %}
  <li>
    <label for="user_role_{{ role.key }}">

      {{ role.text&nbsp;}}
    </label>
    </li>
  {% endfor %}
1.7.56.1.11. url

사용자의 리소스 URL을 반환합니다.

{{ 'Delete' | delete_button: user.url }}
1.7.56.1.12. edit_url

사용자를 편집할 URL을 반환합니다.

{{ 'Edit' | link_to: user.edit_url, title: 'Edit', class: 'action edit' }}
1.7.56.1.13. 수행 가능

권한 메서드에 대한 액세스 권한을 부여합니다.

{% if user.can.be_managed? %}
  <!-- do something -->
{% endif %}
1.7.56.1.14. extra_fields

이 사용자의 값을 사용하여 숨기지 않은 추가 필드를 반환합니다. 예: 모든 추가 필드를 인쇄합니다.

{% for field in user.extra_fields %}
  {{ field.label }}: {{ field.value }}
{% endfor %}
1.7.56.1.15. 필드

이 사용자의 값을 사용하여 모든 필드를 반환합니다. 예: 모든 필드를 인쇄합니다.

{% for field in user.fields %}
  {{ field.label }}: {{ field.value }}
{% endfor %}
1.7.56.1.16. builtin_fields

이 사용자의 값이 포함된 기본 제공 필드를 반환합니다.

Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.