Danil Pismenny
Danil Pismenny
Делаем возможность указать индивидуальный конфиг для Client и Webhooks
Недавно в этом месте: https://github.com/undr/cloud_payments/blob/c6f5ed680b2d9c8808bd932faca870937bc00590/lib/cloud_payments/namespaces/base.rb#L38-L40 Несколько раз выскочило `NoMethodError · undefined method `new' for nil:NilClass` Предлагаю такое решение: ``` def raise_reasoned_gateway_error(body) return unless reason_present?(body) error_class = Client::GATEWAY_ERRORS[body[:model][:reason_code]] fail error_class.new(body) if...
Коллеги, что скажите на счет такого: ``` class CloudPayments::Client::ReasonedGatewayError def message key = self.class.name.split('::').last I18n.t key, scope: 'cloud_payments.errors' end end class CloudPayments::Transaction def amount_money amount.to_money(currency) end end ``` Стоит вливать...
* Currency name: MCR * Symbol: MCR * Website: https://monolith.money * Theme color: 0f82ff * Logo (SVG format): https://github.com/bitzlato/cryptocurrency-icons/blob/010b3bfcfe10168ca3afdcaa45e6e0143ce09d2b/originals/mcr.svg * Closed PR - https://github.com/spothq/cryptocurrency-icons/pull/451
Use any kind of custom elements are losing its borders (ever use shadow DOM for styling) when links tacit.css For example, add `` to this sample - https://javascript.info/shadow-dom-style
If we have vault make full use of it!
Error raised when we pass frozen array to `include` option. https://github.com/Netflix/fast_jsonapi/blob/fdcaed6f0d72cf793b3117a5081de5fbd7466574/lib/fast_jsonapi/object_serializer.rb#L89
Paper recommend to use hex amount: While implementation uses integer: https://github.com/zold-io/zold/blob/master/lib/zold/signature.rb#L68 IMHO paper way is better
How to reproduce: 1. Start a node. 2. Wait a hour. 3. Check file `farm` ``` danil@office:~/code/zold(master*)$ cat farm 13/7: 2018-12-04T21:00:00Z 94.232.57.6 4097 Azu6enIy@1142c2d008235bbe Nb5IbU MUftAn iotIr3 lTMbYy u7yoBE enciKW...