Skip to content

Instantly share code, notes, and snippets.

FastPass.script("lmwjv4kzwi27", "fiei6iv61jnoukaq1aylwd8vcmnkafrs", "scott@getsatisfaction.com", "Scott", "nullstyle", False, twitter_name = "nullstyle")
Dictionary<string, string> parms = new Dictionary<string, string>();
parms.Add("twitter_name", "nullstyle");
var result = FastPass.script("lmwjv4kzwi27", "fiei6iv61jnoukaq1aylwd8vcmnkafrs", "scott@getsatisfaction.com", "Scott", "nullstyle", false, parms);
HashMap<String, String> parms = new HashMap<String, String>();
parms.put("twitter_name", "nullstyle");
FastPass.image("lmwjv4kzwi27", "fiei6iv61jnoukaq1aylwd8vcmnkafrs", "scott@getsatisfaction.com", "Scott", "nullstyle", false, parms);
FastPass::script("lmwjv4kzwi27", "fiei6iv61jnoukaq1aylwd8vcmnkafrs", "scott@getsatisfaction.com", "Scott", "nullstyle", false, array("twitter_name" => "nullstyle"))
nb:
errors:
messages:
not_found: "ikke funnet"
already_confirmed: "har allerede blitt bekreftet. Prøv å logg inn."
not_locked: "var ikke låst"
not_saved:
one: "Én feil gjorde at %{resource} ikke kunne lagres:"
other: "%{count} feil gjorde at %{resource} ikke kunne lagres:"
@kimjoar
kimjoar / RubyXmlDslExercise.md
Created May 23, 2012 06:25 — forked from follesoe/RubyXmlDslExercise.md
Simple Ruby XML DSL exercise implemented by Torgeir and Jonas

Simple Ruby DSL to generate XML

Implemented as an exercise to learn about metaprogramming in Ruby. The DSL is implemented using instance_eval and method_missing.

Usage

require 'xmldsl'

Twitter = Struct.new :name, :avatar, :text
twitters = []
5.times { twitters << Twitter.new("Jonas", "/profile.png", "Hello World!") }