class SketchfabModel
Attributes
id[RW]
name[RW]
username[RW]
Public Class Methods
new(name:, id:, username:)
click to toggle source
# File lib/sketchfably/sketchfab_model.rb, line 3 def initialize(name:, id:, username:) @id = id @name = name @username = username end
Public Instance Methods
html(height: 480, width: 640)
click to toggle source
# File lib/sketchfably/sketchfab_model.rb, line 9 def html(height: 480, width: 640) Sketchfably.get_html_for_model(sketchfab_model: self, height: height, width: width) end