I hereby claim:
- I am dearshrewdwit on github.
- I am dearshrewdwit (https://keybase.io/dearshrewdwit) on keybase.
- I have a public key whose fingerprint is 15B3 31CB E5FE 97AA BA2B 0159 0C3F AF19 ABC7 4B5A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"id": 1, | |
"number": "R338305477", | |
"state": "cart", | |
"item_count": 0, | |
"item_total": "£0.00", | |
"total": "£50.00", | |
"payment_total": "£0.00", | |
"adjustment_total": "£0.00", | |
"shipment_total": "£0.00", |
{ | |
"products": { | |
"meta": { | |
"num_records": 48, | |
"total_records": 482, | |
"page": 1, | |
"per_page": 48, | |
"total_pages": 11, | |
"keywords": null, | |
"sort": [ |
{ | |
"orders": { | |
"orders": { | |
"meta": { | |
"num_records": 1, | |
"total_records": 1, | |
"page": 1, | |
"per_page": 15, | |
"total_pages": 1 | |
}, |
{ | |
"id": 1, | |
"full_name": "First Last", | |
"email": "[email protected]", | |
"orders": { | |
"meta": { | |
"total_records": 1 | |
}, | |
"data": [ | |
{ |
require 'quiz' | |
require 'question' | |
require './lib/question' | |
class Quiz | |
attr_reader :question, :question_class | |
def initialize(question, question_class = Question) |
"This is not a review of my own code, but a question about a code seen in a workshop : I would like to understand it. | |
Here is what I understand : | |
we have a button and a div : (index.erb) | |
<button id=""increment"">Increment</button> | |
<div id=""count""></div> | |