Create the option
POST http://127.0.0.1:8000/api/v1/product-options/ HTTP/1.1
Authorization: Bearer VALID_TOKEN
Content-Type: application/json
{
"code": "my_test_option_for_testing",
"position": 10,
Create the option
POST http://127.0.0.1:8000/api/v1/product-options/ HTTP/1.1
Authorization: Bearer VALID_TOKEN
Content-Type: application/json
{
"code": "my_test_option_for_testing",
"position": 10,
Create the option
POST http://127.0.0.1:8000/api/v1/product-options/ HTTP/1.1
Authorization: Bearer VALID_TOKEN
Content-Type: application/json
{
"code": "my_test_option_for_testing",
"position": 10,
open System | |
open System.Data | |
open System.Data.SqlClient | |
open MySql.Data.MySqlClient | |
type DynamicSqlDataReader(reader:MySqlDataReader) = | |
member private x.Reader = reader | |
member x.Read() = reader.Read() | |
static member (?) (dr:DynamicSqlDataReader, name:string) : 'R = | |
let typ = typeof<'R> |
import java.util.*; | |
public class maxSubarray { | |
static boolean switchToBrute = false; | |
static boolean warmup = true; | |
public static int maxSubarray(int[] A, int lo, int hi) { | |
int sum, max; | |
max = A[1]; | |
for (int i = lo; i <= hi; i++) { |
==> Downloading http://cclive.googlecode.com/files/cclive-0.6.5.tar.bz2 | |
/usr/bin/curl -f#LA Homebrew 0.8 (Ruby 1.8.7-249; Mac OS X 10.7.2) http://cclive.googlecode.com/files/cclive-0.6.5.tar.bz2 -o /Users/leflings/Library/Caches/Homebrew/cclive-0.6.5.tar.bz2 | |
0.0% | |
0.9% | |
# 1.8% | |
# 2.7% | |
## 3.6% | |
### 4.5% |
class Movie < ActiveRecord::Base | |
attr_accessible :name, :year, :rating, :watched, :imdb_id | |
has_many :relationships | |
has_many :people, :through => :relationships | |
has_many :roles, :through => :relationships | |
scope :is_acting, lambda { acting } | |
scope :is_directing, lambda { directing } |