class TorgApi::Api::Okved
Справочник кодов ОКВЭД
Attributes
code[RW]
@return [Integer] Код
fullname[RW]
@return [Integer] Полное наименование
id[RW]
@return [Integer] id
title[RW]
@return [Integer] Наименование
Public Class Methods
find(id)
click to toggle source
# File lib/torg_api/api/okved.rb, line 17 def find(id) responce = JSON.parse( torg_resource["okveds/show"].get( params: { id: id }, accept: :json, content_type: :json, format: :json ), symbolize_names: true ) new(responce[:okved]) end