Class: Kraaken::Cloudflare::Tunnel
- Inherits:
-
Struct
- Object
- Struct
- Kraaken::Cloudflare::Tunnel
- Defined in:
- lib/kraaken/cloudflare.rb
Instance Attribute Summary collapse
-
#_token ⇒ Object
Returns the value of attribute _token.
-
#cloudflare ⇒ Object
Returns the value of attribute cloudflare.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#_token ⇒ Object
Returns the value of attribute _token
6 7 8 |
# File 'lib/kraaken/cloudflare.rb', line 6 def _token @_token end |
#cloudflare ⇒ Object
Returns the value of attribute cloudflare
6 7 8 |
# File 'lib/kraaken/cloudflare.rb', line 6 def cloudflare @cloudflare end |
#id ⇒ Object
Returns the value of attribute id
6 7 8 |
# File 'lib/kraaken/cloudflare.rb', line 6 def id @id end |
#name ⇒ Object
Returns the value of attribute name
6 7 8 |
# File 'lib/kraaken/cloudflare.rb', line 6 def name @name end |
#status ⇒ Object
Returns the value of attribute status
6 7 8 |
# File 'lib/kraaken/cloudflare.rb', line 6 def status @status end |
Instance Method Details
#token ⇒ Object
7 8 9 |
# File 'lib/kraaken/cloudflare.rb', line 7 def token _token || cloudflare.tunnel_token(id:) end |