Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jaipandya/wedding

What would be a wedding without a gem?
https://github.com/jaipandya/wedding

Last synced: about 1 month ago
JSON representation

What would be a wedding without a gem?

Awesome Lists containing this project

README

        

# 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](https://d2weczhvl823v0.cloudfront.net/jaipandya/wedding/trend.png)](https://bitdeli.com/free "Bitdeli Badge")