class Application
Attributes
name[RW]
url[RW]
Public Class Methods
new(attributes = {})
click to toggle source
# File lib/generators/resty/setup/templates/application.rb, line 7 def initialize(attributes = {}) @name = attributes['name'] @url = attributes['url'] end
Public Instance Methods
attributes()
click to toggle source
# File lib/generators/resty/setup/templates/application.rb, line 12 def attributes { 'name' => name, 'url' => url } end