Class: TorgApi::Api::PlanLot
Overview
Планирование
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#additional_num ⇒ Integer
Номер доп.
-
#additional_to ⇒ String
ГУИД основной закупки.
-
#announce_date ⇒ Date
Дата объявления.
-
#charge_date ⇒ Date
Дата направления поручения.
-
#commission_id ⇒ Integer
ИД комиссии.
-
#department_id ⇒ Integer
ИД организатора.
-
#etp_address_id ⇒ Integer
ИД адреса ЭТП, на которой будет объявлена закупка.
-
#explanations_doc ⇒ String
Обосновывающий док-т (только для ЕИ).
-
#gkpz_year ⇒ Integer
Год ГКПЗ.
-
#guid ⇒ String
ГУИД лота.
-
#id ⇒ Integer
Id.
-
#lot_name ⇒ String
Наименование лота.
-
#main_direction_id ⇒ Integer
Главное направление.
-
#num_lot ⇒ Integer
Номер лота.
-
#num_tender ⇒ Integer
Номер закупки.
-
#order1352_id ⇒ Integer
Типы закупок из постановления правительства №1352 от 11.12.2014.
-
#plan_annual_limits ⇒ Array
Готовые лимиты.
-
#plan_lot_contractors ⇒ Array
Планируемые участники.
-
#plan_specifications ⇒ Array
Спецификации.
-
#point_clause ⇒ String
Пункт положения.
-
#preselection_guid ⇒ String
GUID закупки предварительного отбора.
-
#protocol ⇒ Hash
Протокол.
-
#protocol_id ⇒ Integer
ИД протокола.
-
#regulation_item_id ⇒ Integer
Ссылка на пункт положения.
-
#root_customer_id ⇒ Integer
ИД рутового заказчика.
-
#sme_type_id ⇒ Integer
Отношение к участию субъектов малого и среднего предпринимательства.
-
#state ⇒ Integer
Состояние в ГКПЗ: 0 - внеплан, 1 - план.
-
#status_id ⇒ Integer
ИД статуса.
-
#subject_type_id ⇒ Integer
Предмет закупки.
-
#tender_type_explanations ⇒ String
Обоснование выбора способа закупки.
-
#tender_type_id ⇒ Integer
ИД способа закупки.
-
#user_id ⇒ Integer
ИД пользователя.
-
#version ⇒ Integer
Версия записи (0 - текущая).
Class Method Summary collapse
-
.find(plan_lot_id) ⇒ PlanLot
Поиск лота из планирования по id.
Methods inherited from Base
attr_accessor, attributes, #initialize, #to_h, torg_resource
Constructor Details
This class inherits a constructor from TorgApi::Base
Instance Attribute Details
#additional_num ⇒ Integer
Номер доп. соглашения
98 99 100 |
# File 'lib/torg_api/api/plan_lot.rb', line 98 def additional_num @additional_num end |
#additional_to ⇒ String
ГУИД основной закупки
86 87 88 |
# File 'lib/torg_api/api/plan_lot.rb', line 86 def additional_to @additional_to end |
#announce_date ⇒ Date
Дата объявления
54 55 56 |
# File 'lib/torg_api/api/plan_lot.rb', line 54 def announce_date @announce_date end |
#charge_date ⇒ Date
Дата направления поручения
118 119 120 |
# File 'lib/torg_api/api/plan_lot.rb', line 118 def charge_date @charge_date end |
#commission_id ⇒ Integer
ИД комиссии
74 75 76 |
# File 'lib/torg_api/api/plan_lot.rb', line 74 def commission_id @commission_id end |
#department_id ⇒ Integer
ИД организатора
34 35 36 |
# File 'lib/torg_api/api/plan_lot.rb', line 34 def department_id @department_id end |
#etp_address_id ⇒ Integer
ИД адреса ЭТП, на которой будет объявлена закупка
50 51 52 |
# File 'lib/torg_api/api/plan_lot.rb', line 50 def etp_address_id @etp_address_id end |
#explanations_doc ⇒ String
Обосновывающий док-т (только для ЕИ)
58 59 60 |
# File 'lib/torg_api/api/plan_lot.rb', line 58 def explanations_doc @explanations_doc end |
#gkpz_year ⇒ Integer
Год ГКПЗ
18 19 20 |
# File 'lib/torg_api/api/plan_lot.rb', line 18 def gkpz_year @gkpz_year end |
#guid ⇒ String
ГУИД лота
10 11 12 |
# File 'lib/torg_api/api/plan_lot.rb', line 10 def guid @guid end |
#id ⇒ Integer
Returns id.
6 7 8 |
# File 'lib/torg_api/api/plan_lot.rb', line 6 def id @id end |
#lot_name ⇒ String
Наименование лота
30 31 32 |
# File 'lib/torg_api/api/plan_lot.rb', line 30 def lot_name @lot_name end |
#main_direction_id ⇒ Integer
Главное направление
102 103 104 |
# File 'lib/torg_api/api/plan_lot.rb', line 102 def main_direction_id @main_direction_id end |
#num_lot ⇒ Integer
Номер лота
26 27 28 |
# File 'lib/torg_api/api/plan_lot.rb', line 26 def num_lot @num_lot end |
#num_tender ⇒ Integer
Номер закупки
22 23 24 |
# File 'lib/torg_api/api/plan_lot.rb', line 22 def num_tender @num_tender end |
#order1352_id ⇒ Integer
Типы закупок из постановления правительства №1352 от 11.12.2014
106 107 108 |
# File 'lib/torg_api/api/plan_lot.rb', line 106 def order1352_id @order1352_id end |
#plan_annual_limits ⇒ Array
Готовые лимиты
126 127 128 |
# File 'lib/torg_api/api/plan_lot.rb', line 126 def plan_annual_limits @plan_annual_limits end |
#plan_lot_contractors ⇒ Array
Планируемые участники
134 135 136 |
# File 'lib/torg_api/api/plan_lot.rb', line 134 def plan_lot_contractors @plan_lot_contractors end |
#plan_specifications ⇒ Array
Спецификации
130 131 132 |
# File 'lib/torg_api/api/plan_lot.rb', line 130 def plan_specifications @plan_specifications end |
#point_clause ⇒ String
Пункт положения
62 63 64 |
# File 'lib/torg_api/api/plan_lot.rb', line 62 def point_clause @point_clause end |
#preselection_guid ⇒ String
GUID закупки предварительного отбора
110 111 112 |
# File 'lib/torg_api/api/plan_lot.rb', line 110 def preselection_guid @preselection_guid end |
#protocol ⇒ Hash
Протокол
122 123 124 |
# File 'lib/torg_api/api/plan_lot.rb', line 122 def protocol @protocol end |
#protocol_id ⇒ Integer
ИД протокола
66 67 68 |
# File 'lib/torg_api/api/plan_lot.rb', line 66 def protocol_id @protocol_id end |
#regulation_item_id ⇒ Integer
Ссылка на пункт положения
114 115 116 |
# File 'lib/torg_api/api/plan_lot.rb', line 114 def regulation_item_id @regulation_item_id end |
#root_customer_id ⇒ Integer
ИД рутового заказчика
82 83 84 |
# File 'lib/torg_api/api/plan_lot.rb', line 82 def root_customer_id @root_customer_id end |
#sme_type_id ⇒ Integer
Отношение к участию субъектов малого и среднего предпринимательства
94 95 96 |
# File 'lib/torg_api/api/plan_lot.rb', line 94 def sme_type_id @sme_type_id end |
#state ⇒ Integer
Состояние в ГКПЗ: 0 - внеплан, 1 - план
90 91 92 |
# File 'lib/torg_api/api/plan_lot.rb', line 90 def state @state end |
#status_id ⇒ Integer
ИД статуса
70 71 72 |
# File 'lib/torg_api/api/plan_lot.rb', line 70 def status_id @status_id end |
#subject_type_id ⇒ Integer
Предмет закупки
46 47 48 |
# File 'lib/torg_api/api/plan_lot.rb', line 46 def subject_type_id @subject_type_id end |
#tender_type_explanations ⇒ String
Обоснование выбора способа закупки
42 43 44 |
# File 'lib/torg_api/api/plan_lot.rb', line 42 def tender_type_explanations @tender_type_explanations end |
#tender_type_id ⇒ Integer
ИД способа закупки
38 39 40 |
# File 'lib/torg_api/api/plan_lot.rb', line 38 def tender_type_id @tender_type_id end |
#user_id ⇒ Integer
ИД пользователя
78 79 80 |
# File 'lib/torg_api/api/plan_lot.rb', line 78 def user_id @user_id end |
#version ⇒ Integer
Версия записи (0 - текущая)
14 15 16 |
# File 'lib/torg_api/api/plan_lot.rb', line 14 def version @version end |
Class Method Details
.find(plan_lot_id) ⇒ PlanLot
Поиск лота из планирования по id
141 142 143 144 145 146 147 148 149 150 151 |
# File 'lib/torg_api/api/plan_lot.rb', line 141 def find(plan_lot_id) responce = JSON.parse( torg_resource["plan_lots/#{plan_lot_id}"].get( accept: :json, content_type: :json, format: :json ), symbolize_names: true ) new(responce[:plan_lot]) end |