dmacvicar/ruby-sfcc — pull request #8 by miminar (2012-07-26 14:02:13+00:00)
Title: Provide a way to pass type information along with value to methods

Made CIMData a ruby object to allow passing values along with types to client methods.
### Use case:
Some C sfcb provider is accepting a UInt8 value as method parameter.
Originally passing some integer to a method as parameter would turn in into ```CIMCData d = { .type = CIMC_sint64, .value.sint64 = val };```
But providers are often coded in the way, that they check for exact type of input parameter and fail in case
they not match.
So with this modification one can write:
```
client.invoke_method(object_path, "some_method_name",
{ "Param1" => Sfcc::Cim::Data.new("UInt8", 10) }, out)
```