Skip to content

Instantly share code, notes, and snippets.

@jordelver
Created October 7, 2015 15:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jordelver/d91cb3011125035f3b51 to your computer and use it in GitHub Desktop.
Save jordelver/d91cb3011125035f3b51 to your computer and use it in GitHub Desktop.

From

{
  :FNAME => attributes.contact_first_name,
  :LNAME => attributes.contact_last_name,
  :LEVEL => attributes.level,
  :COUNTRY => attributes.country,
  :TWITTER => attributes.twitter,
  :JOIN_DATE => attributes.join_date,
  :ORGANISATION_SECTOR => attributes.organization_sector,
  :ORGANISATION_NAME => attributes.organization_name,
  :ORGANISATION_SIZE => attributes.organization_size
}

To

{
  :FNAME               => attributes.contact_first_name,
  :LNAME               => attributes.contact_last_name,
  :LEVEL               => attributes.level,
  :COUNTRY             => attributes.country,
  :TWITTER             => attributes.twitter,
  :JOIN_DATE           => attributes.join_date,
  :ORGANISATION_SECTOR => attributes.organization_sector,
  :ORGANISATION_NAME   => attributes.organization_name,
  :ORGANISATION_SIZE   => attributes.organization_size
}
@andrew
Copy link

andrew commented Jun 14, 2016

Comment!

@sstarr
Copy link

sstarr commented Jun 14, 2016

Commenty McCommentface :shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment