Hello,
I am a newbie ruby hobbyist and have just signed of my first gem.
I fully appreciate it is a load of old todger, and other gems exist
already.
Any comments appreciated
Also it doesnt seem to initialise into rails 3.2 app properly, or do i
have to require it specifically?
https://github.com/iCPU/ebay_party
chris
On Sun, May 27, 2012 at 01:37:19AM +0900, chris potts wrote:
have to require it specifically?
https://github.com/iCPU/ebay_party
Maybe it’s just me, but for something like this I’d prefer a
configuration file over the use of environment variables. Perhaps you
could add some functionality for falling back on configuration files if
the specified environment variables are not set.
In your requestXML variable, you might want to think about using %Q for
quoting instead of double quotes so you will not have to escape the
double quotes in the content of the string. You can use braces even
though you have brace-delimited code interpolated within your string:
irb
>> foo = 'foo'
=> "foo"
>> bar = %Q{The value of foo is "#{foo}".}
=> "The value of foo is \"foo\"."
Good job using a friendly license and including file indicating the
license for the project (the LICENSE file, in this case). It seems like
many people forget to do that.
Are you planning to add more functionality to the API in the future?
Thank you for your help, I will look into %Q
I have been using env variables alot recently until I am confident I am
in control of git ignore, any suggestions on this?
I certainly plan to expand on this single lonely method, and have been
thinking about views and view helpers for the large nested category data
set ebay returns.
Which makes me wonder if I should explore rails engines?
Appreciate you taking the time to advise
chris