live_help Notes

assignment This action requires one of theses roles: Advanced tutor

settings Params

Param name Description
scale optional , nil allowed . Must be a Hash
scale[name] required . Must be String

The name. Must be unique in the scope of a given evaluation.

scale[lg] optional , nil allowed . Must be String

The language id.

scale[is_primary] optional , nil allowed . Must be one of: true, false.

Is it is primary ? Default to false.

scale[is_external] optional , nil allowed . Must be one of: true, false.

Is it is external ? Default to false.

scale[manual_subscription] optional , nil allowed . Must be one of: true, false.

Is it manual subscription ? Default to false.

scale[comment] optional , nil allowed . Must be String

The comment.

scale[introduction_md] optional , nil allowed . Must be String

The introduction md.

scale[disclaimer_md] optional , nil allowed . Must be String

The disclaimer md.

scale[guidelines_md] required . Must be String

The guidelines md.

scale[correction_number] required . Must be Fixnum

The correction number.

scale[duration] required . Must be Fixnum

The duration.

scale[evaluation_id] optional , nil allowed . Must be Fixnum

The evaluation id.

scale[flag_ids] optional , nil allowed . Must be an array of Integer

The flag ids.

scale[attachments_attributes] optional , nil allowed . Must be an Array of nested elements

The attachments attributes.

scale[attachments_attributes][id] optional , nil allowed . Must be Fixnum

The id.

scale[attachments_attributes][kind] optional , nil allowed . Must be one of: code, pdf, link, document, video.

The kind.

scale[attachments_attributes][language_id] required . Must be Fixnum

The language id.

scale[attachments_attributes][_destroy] optional , nil allowed . Must be String

The destroy.

scale[attachments_attributes][untranslatable] optional , nil allowed . Must be one of: true, false.

Is it untranslatable ? Default to false.

scale[attachments_attributes][attachable_attributes] optional , nil allowed . Must be an Array of nested elements

The attachable attributes.

scale[sections_attributes] optional , nil allowed . Must be an Array of nested elements

The sections attributes.

scale[sections_attributes][id] optional , nil allowed . Must be Fixnum

The id.

scale[sections_attributes][description] optional , nil allowed . Must be String

The description.

scale[sections_attributes][questions_attributes] optional , nil allowed . Must be an Array of nested elements

The questions attributes.

scale[sections_attributes][questions_attributes][id] optional , nil allowed . Must be Fixnum

The id.

scale[sections_attributes][questions_attributes][name] required . Must be String

The name. Must be unique in the scope of a given section.

scale[sections_attributes][questions_attributes][kind] required . Must be one of: standard, bonus.

The kind.

scale[sections_attributes][questions_attributes][rating] required . Must be one of: bool, multi, text.

The rating.

scale[sections_attributes][questions_attributes][guidelines] required . Must be String

The guidelines.

scale[sections_attributes][questions_attributes][_destroy] optional , nil allowed . Must be String

The destroy.

scale[sections_attributes][questions_attributes][questions_skills_attributes] optional , nil allowed . Must be an Array of nested elements

The questions skills attributes.

scale[sections_attributes][questions_attributes][questions_skills_attributes][id] optional , nil allowed . Must be Fixnum

The id.

scale[sections_attributes][questions_attributes][questions_skills_attributes][skill_id] required . Must be Fixnum

The skill id.

scale[sections_attributes][questions_attributes][questions_skills_attributes][percentage] required . Must be Fixnum

The percentage.

scale[sections_attributes][questions_attributes][questions_skills_attributes][_destroy] optional , nil allowed . Must be String

The destroy.

scale[sections_attributes][name] required . Must be String

The name. Must be unique in the scope of a given scalable.

scale[sections_attributes][_destroy] optional , nil allowed . Must be String

The destroy.

comments powered by <span class='logo-disqus'>Disqus</span>
POST /v2/scales
{
  "scale": {
    "comment": "Ut magnam migas everyday eaque. Shoreditch fingerstache est voluptatem est kogi readymade.",
    "correction_number": "3",
    "disclaimer_md": "Et sed quas kitsch. Aspernatur temporibus reiciendis. Consequatur aut humblebrag libero et quam temporibus. Qui rerum autem distillery pinterest enim aspernatur mumblecore. Kitsch goth saepe tempora butcher vhs organic quam.",
    "duration": "2",
    "evaluation_id": "4",
    "guidelines_md": "Incidunt et you probably haven't heard of them master inventore et +1. Vel eum libero messenger bag non freegan sartorial. Raw denim optio qui est. Quia post-ironic possimus chicharrones.",
    "introduction_md": "Etsy soluta chia amet knausgaard hic kitsch portland. Rerum vegan sapiente odit aesthetic poutine five dollar toast. Dolor aliquid tofu. Similique libero drinking.",
    "is_external": "false",
    "is_primary": "true",
    "lg": "1",
    "manual_subscription": "false",
    "name": "South Dakota elves",
    "sections_attributes": [
      {
        "description": "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.",
        "name": "Massachusetts fishes",
        "questions_attributes": [
          {
            "guidelines": "Kombucha skateboard squid wolf mlkshk. Synth shoreditch tattooed. Intelligentsia portland selvage. Chambray echo carry vinyl scenester flannel.",
            "kind": "standard",
            "name": "Tennessee cats",
            "questions_skills_attributes": [
              {
                "percentage": "25",
                "skill_id": "6"
              },
              {
                "percentage": "25",
                "skill_id": "2"
              }
            ],
            "rating": "bool"
          }
        ]
      },
      {
        "description": "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.",
        "name": "Massachusetts fishes",
        "questions_attributes": [
          {
            "guidelines": "Kombucha skateboard squid wolf mlkshk. Synth shoreditch tattooed. Intelligentsia portland selvage. Chambray echo carry vinyl scenester flannel.",
            "kind": "standard",
            "name": "Tennessee cats",
            "questions_skills_attributes": [
              {
                "percentage": "25",
                "skill_id": "6"
              },
              {
                "percentage": "25",
                "skill_id": "2"
              }
            ],
            "rating": "bool"
          }
        ]
      },
      {
        "description": "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.",
        "name": "Massachusetts fishes",
        "questions_attributes": [
          {
            "guidelines": "Kombucha skateboard squid wolf mlkshk. Synth shoreditch tattooed. Intelligentsia portland selvage. Chambray echo carry vinyl scenester flannel.",
            "kind": "standard",
            "name": "Tennessee cats",
            "questions_skills_attributes": [
              {
                "percentage": "25",
                "skill_id": "6"
              },
              {
                "percentage": "25",
                "skill_id": "2"
              }
            ],
            "rating": "bool"
          }
        ]
      },
      {
        "description": "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.",
        "name": "Massachusetts fishes",
        "questions_attributes": [
          {
            "guidelines": "Kombucha skateboard squid wolf mlkshk. Synth shoreditch tattooed. Intelligentsia portland selvage. Chambray echo carry vinyl scenester flannel.",
            "kind": "standard",
            "name": "Tennessee cats",
            "questions_skills_attributes": [
              {
                "percentage": "25",
                "skill_id": "6"
              },
              {
                "percentage": "25",
                "skill_id": "2"
              }
            ],
            "rating": "bool"
          }
        ]
      }
    ]
  }
}
201
{
  "id": 4,
  "evaluation_id": 4,
  "name": "South Dakota elves",
  "is_primary": true,
  "comment": "Ut magnam migas everyday eaque. Shoreditch fingerstache est voluptatem est kogi readymade.",
  "introduction_md": "Etsy soluta chia amet knausgaard hic kitsch portland. Rerum vegan sapiente odit aesthetic poutine five dollar toast. Dolor aliquid tofu. Similique libero drinking.",
  "disclaimer_md": "Et sed quas kitsch. Aspernatur temporibus reiciendis. Consequatur aut humblebrag libero et quam temporibus. Qui rerum autem distillery pinterest enim aspernatur mumblecore. Kitsch goth saepe tempora butcher vhs organic quam.",
  "guidelines_md": "Incidunt et you probably haven't heard of them master inventore et +1. Vel eum libero messenger bag non freegan sartorial. Raw denim optio qui est. Quia post-ironic possimus chicharrones.",
  "created_at": "2017-03-06T15:20:35.229Z",
  "correction_number": 3,
  "duration": 1800,
  "manual_subscription": true,
  "languages": [
    {
      "id": 1,
      "name": "Français",
      "identifier": "fr",
      "created_at": "2017-03-06T14:58:43.167Z",
      "updated_at": "2017-03-06T14:59:04.330Z"
    }
  ],
  "sections": [
    {
      "id": 10,
      "name": "Massachusetts fishes",
      "description": "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.",
      "questions": [
        {
          "name": "Tennessee cats",
          "id": 14,
          "questions_skills": [
            {
              "id": 25,
              "question_id": 14,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.268Z",
              "updated_at": "2017-03-06T15:20:35.268Z"
            },
            {
              "id": 26,
              "question_id": 14,
              "skill_id": 2,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.286Z",
              "updated_at": "2017-03-06T15:20:35.286Z"
            }
          ]
        }
      ]
    },
    {
      "id": 11,
      "name": "Massachusetts fishes",
      "description": "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.",
      "questions": [
        {
          "name": "Tennessee cats",
          "id": 15,
          "questions_skills": [
            {
              "id": 27,
              "question_id": 15,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.325Z",
              "updated_at": "2017-03-06T15:20:35.325Z"
            },
            {
              "id": 28,
              "question_id": 15,
              "skill_id": 2,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.336Z",
              "updated_at": "2017-03-06T15:20:35.336Z"
            }
          ]
        }
      ]
    },
    {
      "id": 12,
      "name": "Massachusetts fishes",
      "description": "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.",
      "questions": [
        {
          "name": "Tennessee cats",
          "id": 16,
          "questions_skills": [
            {
              "id": 29,
              "question_id": 16,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.373Z",
              "updated_at": "2017-03-06T15:20:35.373Z"
            },
            {
              "id": 30,
              "question_id": 16,
              "skill_id": 2,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.384Z",
              "updated_at": "2017-03-06T15:20:35.384Z"
            }
          ]
        }
      ]
    },
    {
      "id": 13,
      "name": "Massachusetts fishes",
      "description": "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.",
      "questions": [
        {
          "name": "Tennessee cats",
          "id": 17,
          "questions_skills": [
            {
              "id": 31,
              "question_id": 17,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.422Z",
              "updated_at": "2017-03-06T15:20:35.422Z"
            },
            {
              "id": 32,
              "question_id": 17,
              "skill_id": 2,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.433Z",
              "updated_at": "2017-03-06T15:20:35.433Z"
            }
          ]
        }
      ]
    }
  ],
  "evaluation": {
    "id": 4,
    "kind": "scale"
  }
}
curl  -X POST -H "Authorization: Bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" -d '{"scale":{"comment":"Ut magnam migas everyday eaque. Shoreditch fingerstache est voluptatem est kogi readymade.","correction_number":"3","disclaimer_md":"Et sed quas kitsch. Aspernatur temporibus reiciendis. Consequatur aut humblebrag libero et quam temporibus. Qui rerum autem distillery pinterest enim aspernatur mumblecore. Kitsch goth saepe tempora butcher vhs organic quam.","duration":"2","evaluation_id":"4","guidelines_md":"Incidunt et you probably haven't heard of them master inventore et +1. Vel eum libero messenger bag non freegan sartorial. Raw denim optio qui est. Quia post-ironic possimus chicharrones.","introduction_md":"Etsy soluta chia amet knausgaard hic kitsch portland. Rerum vegan sapiente odit aesthetic poutine five dollar toast. Dolor aliquid tofu. Similique libero drinking.","is_external":"false","is_primary":"true","lg":"1","manual_subscription":"false","name":"South Dakota elves","sections_attributes":[{"description":"Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.","name":"Massachusetts fishes","questions_attributes":[{"guidelines":"Kombucha skateboard squid wolf mlkshk. Synth shoreditch tattooed. Intelligentsia portland selvage. Chambray echo carry vinyl scenester flannel.","kind":"standard","name":"Tennessee cats","questions_skills_attributes":[{"percentage":"25","skill_id":"6"},{"percentage":"25","skill_id":"2"}],"rating":"bool"}]},{"description":"Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.","name":"Massachusetts fishes","questions_attributes":[{"guidelines":"Kombucha skateboard squid wolf mlkshk. Synth shoreditch tattooed. Intelligentsia portland selvage. Chambray echo carry vinyl scenester flannel.","kind":"standard","name":"Tennessee cats","questions_skills_attributes":[{"percentage":"25","skill_id":"6"},{"percentage":"25","skill_id":"2"}],"rating":"bool"}]},{"description":"Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.","name":"Massachusetts fishes","questions_attributes":[{"guidelines":"Kombucha skateboard squid wolf mlkshk. Synth shoreditch tattooed. Intelligentsia portland selvage. Chambray echo carry vinyl scenester flannel.","kind":"standard","name":"Tennessee cats","questions_skills_attributes":[{"percentage":"25","skill_id":"6"},{"percentage":"25","skill_id":"2"}],"rating":"bool"}]},{"description":"Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.","name":"Massachusetts fishes","questions_attributes":[{"guidelines":"Kombucha skateboard squid wolf mlkshk. Synth shoreditch tattooed. Intelligentsia portland selvage. Chambray echo carry vinyl scenester flannel.","kind":"standard","name":"Tennessee cats","questions_skills_attributes":[{"percentage":"25","skill_id":"6"},{"percentage":"25","skill_id":"2"}],"rating":"bool"}]}]}}' "https://api.intra.42.fr/v2/scales"

{
  "id": 4,
  "evaluation_id": 4,
  "name": "South Dakota elves",
  "is_primary": true,
  "comment": "Ut magnam migas everyday eaque. Shoreditch fingerstache est voluptatem est kogi readymade.",
  "introduction_md": "Etsy soluta chia amet knausgaard hic kitsch portland. Rerum vegan sapiente odit aesthetic poutine five dollar toast. Dolor aliquid tofu. Similique libero drinking.",
  "disclaimer_md": "Et sed quas kitsch. Aspernatur temporibus reiciendis. Consequatur aut humblebrag libero et quam temporibus. Qui rerum autem distillery pinterest enim aspernatur mumblecore. Kitsch goth saepe tempora butcher vhs organic quam.",
  "guidelines_md": "Incidunt et you probably haven't heard of them master inventore et +1. Vel eum libero messenger bag non freegan sartorial. Raw denim optio qui est. Quia post-ironic possimus chicharrones.",
  "created_at": "2017-03-06T15:20:35.229Z",
  "correction_number": 3,
  "duration": 1800,
  "manual_subscription": true,
  "languages": [
    {
      "id": 1,
      "name": "Français",
      "identifier": "fr",
      "created_at": "2017-03-06T14:58:43.167Z",
      "updated_at": "2017-03-06T14:59:04.330Z"
    }
  ],
  "sections": [
    {
      "id": 10,
      "name": "Massachusetts fishes",
      "description": "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.",
      "questions": [
        {
          "name": "Tennessee cats",
          "id": 14,
          "questions_skills": [
            {
              "id": 25,
              "question_id": 14,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.268Z",
              "updated_at": "2017-03-06T15:20:35.268Z"
            },
            {
              "id": 26,
              "question_id": 14,
              "skill_id": 2,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.286Z",
              "updated_at": "2017-03-06T15:20:35.286Z"
            }
          ]
        }
      ]
    },
    {
      "id": 11,
      "name": "Massachusetts fishes",
      "description": "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.",
      "questions": [
        {
          "name": "Tennessee cats",
          "id": 15,
          "questions_skills": [
            {
              "id": 27,
              "question_id": 15,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.325Z",
              "updated_at": "2017-03-06T15:20:35.325Z"
            },
            {
              "id": 28,
              "question_id": 15,
              "skill_id": 2,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.336Z",
              "updated_at": "2017-03-06T15:20:35.336Z"
            }
          ]
        }
      ]
    },
    {
      "id": 12,
      "name": "Massachusetts fishes",
      "description": "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.",
      "questions": [
        {
          "name": "Tennessee cats",
          "id": 16,
          "questions_skills": [
            {
              "id": 29,
              "question_id": 16,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.373Z",
              "updated_at": "2017-03-06T15:20:35.373Z"
            },
            {
              "id": 30,
              "question_id": 16,
              "skill_id": 2,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.384Z",
              "updated_at": "2017-03-06T15:20:35.384Z"
            }
          ]
        }
      ]
    },
    {
      "id": 13,
      "name": "Massachusetts fishes",
      "description": "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.",
      "questions": [
        {
          "name": "Tennessee cats",
          "id": 17,
          "questions_skills": [
            {
              "id": 31,
              "question_id": 17,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.422Z",
              "updated_at": "2017-03-06T15:20:35.422Z"
            },
            {
              "id": 32,
              "question_id": 17,
              "skill_id": 2,
              "percentage": 25,
              "created_at": "2017-03-06T15:20:35.433Z",
              "updated_at": "2017-03-06T15:20:35.433Z"
            }
          ]
        }
      ]
    }
  ],
  "evaluation": {
    "id": 4,
    "kind": "scale"
  }
}
require "oauth2"
UID = "Your application uid"
SECRET = "Your application secret"
client = OAuth2::Client.new(UID, SECRET, site: "https://api.intra.42.fr")
token = client.client_credentials.get_token

params = {scale: {comment: "Ut magnam migas everyday eaque. Shoreditch fingerstache est voluptatem est kogi readymade.", correction_number: "3", disclaimer_md: "Et sed quas kitsch. Aspernatur temporibus reiciendis. Consequatur aut humblebrag libero et quam temporibus. Qui rerum autem distillery pinterest enim aspernatur mumblecore. Kitsch goth saepe tempora butcher vhs organic quam.", duration: "2", evaluation_id: "4", guidelines_md: "Incidunt et you probably haven't heard of them master inventore et +1. Vel eum libero messenger bag non freegan sartorial. Raw denim optio qui est. Quia post-ironic possimus chicharrones.", introduction_md: "Etsy soluta chia amet knausgaard hic kitsch portland. Rerum vegan sapiente odit aesthetic poutine five dollar toast. Dolor aliquid tofu. Similique libero drinking.", is_external: "false", is_primary: "true", lg: "1", manual_subscription: "false", name: "South Dakota elves", sections_attributes: [{description: "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.", name: "Massachusetts fishes", questions_attributes: [{guidelines: "Kombucha skateboard squid wolf mlkshk. Synth shoreditch tattooed. Intelligentsia portland selvage. Chambray echo carry vinyl scenester flannel.", kind: "standard", name: "Tennessee cats", questions_skills_attributes: [{percentage: "25", skill_id: "6"}, {percentage: "25", skill_id: "2"}], rating: "bool"}]}, {description: "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.", name: "Massachusetts fishes", questions_attributes: [{guidelines: "Kombucha skateboard squid wolf mlkshk. Synth shoreditch tattooed. Intelligentsia portland selvage. Chambray echo carry vinyl scenester flannel.", kind: "standard", name: "Tennessee cats", questions_skills_attributes: [{percentage: "25", skill_id: "6"}, {percentage: "25", skill_id: "2"}], rating: "bool"}]}, {description: "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.", name: "Massachusetts fishes", questions_attributes: [{guidelines: "Kombucha skateboard squid wolf mlkshk. Synth shoreditch tattooed. Intelligentsia portland selvage. Chambray echo carry vinyl scenester flannel.", kind: "standard", name: "Tennessee cats", questions_skills_attributes: [{percentage: "25", skill_id: "6"}, {percentage: "25", skill_id: "2"}], rating: "bool"}]}, {description: "Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.", name: "Massachusetts fishes", questions_attributes: [{guidelines: "Kombucha skateboard squid wolf mlkshk. Synth shoreditch tattooed. Intelligentsia portland selvage. Chambray echo carry vinyl scenester flannel.", kind: "standard", name: "Tennessee cats", questions_skills_attributes: [{percentage: "25", skill_id: "6"}, {percentage: "25", skill_id: "2"}], rating: "bool"}]}]}}
response = token.post("/v2/scales", params: params)
response.status
# => 201
response.parsed
# => {"id"=>4, "evaluation_id"=>4, "name"=>"South Dakota elves", "is_primary"=>true, "comment"=>"Ut magnam migas everyday eaque. Shoreditch fingerstache est voluptatem est kogi readymade.", "introduction_md"=>"Etsy soluta chia amet knausgaard hic kitsch portland. Rerum vegan sapiente odit aesthetic poutine five dollar toast. Dolor aliquid tofu. Similique libero drinking.", "disclaimer_md"=>"Et sed quas kitsch. Aspernatur temporibus reiciendis. Consequatur aut humblebrag libero et quam temporibus. Qui rerum autem distillery pinterest enim aspernatur mumblecore. Kitsch goth saepe tempora butcher vhs organic quam.", "guidelines_md"=>"Incidunt et you probably haven't heard of them master inventore et +1. Vel eum libero messenger bag non freegan sartorial. Raw denim optio qui est. Quia post-ironic possimus chicharrones.", "created_at"=>"2017-03-06T15:20:35.229Z", "correction_number"=>3, "duration"=>1800, "manual_subscription"=>true, "languages"=>[{"id"=>1, "name"=>"Français", "identifier"=>"fr", "created_at"=>"2017-03-06T14:58:43.167Z", "updated_at"=>"2017-03-06T14:59:04.330Z"}], "sections"=>[{"id"=>10, "name"=>"Massachusetts fishes", "description"=>"Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.", "questions"=>[{"name"=>"Tennessee cats", "id"=>14, "questions_skills"=>[{"id"=>25, "question_id"=>14, "skill_id"=>6, "percentage"=>25, "created_at"=>"2017-03-06T15:20:35.268Z", "updated_at"=>"2017-03-06T15:20:35.268Z"}, {"id"=>26, "question_id"=>14, "skill_id"=>2, "percentage"=>25, "created_at"=>"2017-03-06T15:20:35.286Z", "updated_at"=>"2017-03-06T15:20:35.286Z"}]}]}, {"id"=>11, "name"=>"Massachusetts fishes", "description"=>"Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.", "questions"=>[{"name"=>"Tennessee cats", "id"=>15, "questions_skills"=>[{"id"=>27, "question_id"=>15, "skill_id"=>6, "percentage"=>25, "created_at"=>"2017-03-06T15:20:35.325Z", "updated_at"=>"2017-03-06T15:20:35.325Z"}, {"id"=>28, "question_id"=>15, "skill_id"=>2, "percentage"=>25, "created_at"=>"2017-03-06T15:20:35.336Z", "updated_at"=>"2017-03-06T15:20:35.336Z"}]}]}, {"id"=>12, "name"=>"Massachusetts fishes", "description"=>"Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.", "questions"=>[{"name"=>"Tennessee cats", "id"=>16, "questions_skills"=>[{"id"=>29, "question_id"=>16, "skill_id"=>6, "percentage"=>25, "created_at"=>"2017-03-06T15:20:35.373Z", "updated_at"=>"2017-03-06T15:20:35.373Z"}, {"id"=>30, "question_id"=>16, "skill_id"=>2, "percentage"=>25, "created_at"=>"2017-03-06T15:20:35.384Z", "updated_at"=>"2017-03-06T15:20:35.384Z"}]}]}, {"id"=>13, "name"=>"Massachusetts fishes", "description"=>"Qui fixie sequi. Selvage asperiores craft beer ugh shoreditch et crucifix qui. Plaid roof rem. Five dollar toast expedita in culpa corporis fuga. Williamsburg reiciendis architecto ipsam a.", "questions"=>[{"name"=>"Tennessee cats", "id"=>17, "questions_skills"=>[{"id"=>31, "question_id"=>17, "skill_id"=>6, "percentage"=>25, "created_at"=>"2017-03-06T15:20:35.422Z", "updated_at"=>"2017-03-06T15:20:35.422Z"}, {"id"=>32, "question_id"=>17, "skill_id"=>2, "percentage"=>25, "created_at"=>"2017-03-06T15:20:35.433Z", "updated_at"=>"2017-03-06T15:20:35.433Z"}]}]}], "evaluation"=>{"id"=>4, "kind"=>"scale"}}