Module: Lastrb

Defined in:
lib/lastrb.rb,
lib/lastrb/base.rb,
lib/lastrb/artist.rb,
lib/lastrb/version.rb

Defined Under Namespace

Classes: Artist, Base

Constant Summary collapse

VERSION =
'0.0.0'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.keyObject

Returns the value of attribute key.



12
13
14
# File 'lib/lastrb.rb', line 12

def key
  @key
end

.langObject

Returns the value of attribute lang.



9
10
11
# File 'lib/lastrb.rb', line 9

def lang
  @lang
end

.secretObject

Returns the value of attribute secret.



15
16
17
# File 'lib/lastrb.rb', line 15

def secret
  @secret
end

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Lastrb)

    the object that the method was called on



18
19
20
# File 'lib/lastrb.rb', line 18

def setup
  yield self
end