Skip to content

Latest commit

 

History

162 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test

Arena

Installation

Add this line to your application's Gemfile:

gem 'arena'

And then execute:

$ bundle

Or install it yourself as:

$ gem install arena

Usage

Register an application at https://dev.are.na.

Configure for personal use (optional; be aware this grants access to everything your account has access to)

Arena.configure do |config|
    config.access_token = 'XXXXXXXXXXXXX'
end

Simple usage example

@channel = Arena.channel(params[:id])
<% @channel.contents.each do |connectable| %>
    <%= connectable.title %>
    <% if connectable.has_image? %>
        <img src="<%= connectable.image.display.url %>" alt="<%= connectable.title %>" />
    <% end %>
<% end %>

About

A Ruby interface to the Arena API.

Resources

Stars

17 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages