Sketchfably
Sketchfably is a set up Rails helps to easily (and safely) embed Sketchfab models into records. Users can just paste the BBCode and Sketchfably will show it!
Installation
Add this line to your application's Gemfile:
gem 'sketchfably'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sketchfably
Usage
Find Sketchfab models by tag: @models = Sketchfably.get_models_by_tag("myawesometag")
Display embed code:
model.html
Contributing
- Fork it ( https://github.com/[my-github-username]/sketchfably/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request