Skip to content
What would be a wedding without a gem?
Branch: master
Clone or download
jaipandya Merge pull request #3 from bitdeli-chef/master
Add a Bitdeli Badge to README
Latest commit 8cc766d Feb 14, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Second round of changes, added a CLI Nov 19, 2013
lib phere at 12 am Nov 21, 2013
spec Second round of changes, added a CLI Nov 19, 2013
.gitignore Wedding is colorful now Nov 19, 2013
Gemfile Hello world Nov 13, 2013
LICENSE.txt Second round of changes, added a CLI Nov 19, 2013
README.md Add a Bitdeli badge to README Feb 14, 2014
Rakefile Hello world Nov 13, 2013
screenshot.png Wedding is colorful now Nov 19, 2013
wedding.gemspec Homepage update and spellings correction Nov 20, 2013

README.md

Wedding

How would be a wedding without a gem?

screenshot

Overview

A fun experiment to invite my geeky friends via this ruby gem.

Installation

Command line install

$ gem install wedding

Add this line to your application's Gemfile:

gem 'wedding'

And then execute:

$ bundle

Usage

Command Line

List of all available commands

wedding

Print a personalized wedding invitation

wedding invitation

Glory words for the groom

wedding groom

Glory words for the bride

wedding bride

RSVP for the event

wedding rsvp

Map location of the venue

wedding location

Public API

New wedding

# By default it would take config options from
# lib/wedding/default_config.rb, which can be overridden
# by passing your own hash

wedding = Wedding.new

Returns invitation card string

wedding.invitation

Wedding venue coordinates

wedding.location

Returns google maps URL of the venue

wedding.map_location

Access the groom 'object'

wedding.groom

Access the bride 'object'

wedding.bride

RSVP information about the event

wedding.rsvp

Bitdeli Badge

You can’t perform that action at this time.