Skip to content

sent-hil/ruby-saran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saran

DSL for wrapping RESTful apis. This is a rewritten version of wrappable.

Config

Accepted variables: endpoint, access_token, provider (for OpenAuth2).

class GoogleCalendar
  include Wrappable

  endpoint 'https://www.googleapis.com/calendar/v3'
  provider :google
end

# getters
fb.endpoint #=> 'https://graph.facebook.com'

# setters
fb.endpoint('something else')

About

Dsl for wrapping RESTful apis.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages