Module: GrubY::WebApp

Defined in:
lib/gruubY/webapp.rb

Class Method Summary collapse

Class Method Details

.info(url:) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/gruubY/webapp.rb', line 5

def info(url:)
  {
    web_app: {
      url: url.to_s
    }
  }
end

.inline_button(text:, url:) ⇒ Object



13
14
15
16
17
18
19
20
# File 'lib/gruubY/webapp.rb', line 13

def inline_button(text:, url:)
  {
    text: text.to_s,
    web_app: {
      url: url.to_s
    }
  }
end