Module: Twirbet::DSL

Extended by:
T::Helpers, T::Sig
Included in:
Client, Service
Defined in:
lib/twirbet/dsl.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#full_nameObject



75
76
77
# File 'lib/twirbet/dsl.rb', line 75

def full_name
  self.class.full_name
end

#package_nameObject



65
66
67
# File 'lib/twirbet/dsl.rb', line 65

def package_name
  self.class.package_name
end

#rpc(name) ⇒ Object



80
81
82
# File 'lib/twirbet/dsl.rb', line 80

def rpc(name)
  self.class.rpcs[name]
end

#service_nameObject



70
71
72
# File 'lib/twirbet/dsl.rb', line 70

def service_name
  self.class.service_name
end