Sha256: 3c20d76d382e998c5932900f39cf86c32aa1e9cb1c6d51ac394699ff15d17c56

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

# SocialCast

SocialCast gem is a ruby interface to the SocialCast REST API

## INSTALLATION

    gem install socialcast4r

## Usage

    Socialcastr.configuration do |socialcast|
      socialcast.username = "user@example.com"
      socialcast.password = "password"
      socialcast.domain   = "demo.socialcast.com"
    end
    
    api = Socialcastr.api
    
    messages = api.messages
    
    message_params = { "message[title]" => "hallo world!", "message[body]" => "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."  }
    reply = api.add_message(message_params)
    message = Socialcastr::Message.parse(reply)


## Status

This is just the first draft of the wrapper. It can be improved in many, many ways.
The API is not completely covered either: a lot of interesing stuff, like (un)liking and attachments have been left out. 
Feel free to help (see Contributing below)

## Contributing to the code (a.k.a. submitting a pull request)

1. Fork the project.
2. Create a topic branch.
3. Implement your feature or bug fix.
4. Commit and push your changes.
5. Submit a pull request. Please do not include changes to the gemspec, version, or history file. (If you want to create your own version for some reason, please do so in a separate commit.)


## Copyright

Copyright (c) 2011 Riccardo Cambiassi. See LICENSE for details.


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
socialcastr-0.0.1 README.markdown