• Stars
    star
    156
  • Rank 239,589 (Top 5 %)
  • Language
    Ruby
  • License
    MIT License
  • Created almost 11 years ago
  • Updated over 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

What would be a wedding without a gem?

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