Browse Source

Make export attribute style consistent.

Tim Fletcher 16 years ago
parent
commit
1a9d23b1e4
7 changed files with 7 additions and 22 deletions
  1. 1 6
      src/oauth.erl
  2. 1 1
      src/oauth_consumer.erl
  3. 1 5
      src/oauth_hmac.erl
  4. 1 2
      src/oauth_http.erl
  5. 1 3
      src/oauth_params.erl
  6. 1 3
      src/oauth_request.erl
  7. 1 2
      src/oauth_token_pair.erl

+ 1 - 6
src/oauth.erl

@@ -1,11 +1,6 @@
 -module(oauth).
 
--export([get/2]).
--export([get/3]).
--export([get/4]).
--export([post/2]).
--export([post/3]).
--export([post/4]).
+-export([get/2, get/3, get/4, post/2, post/3, post/4]).
 
 
 get(URL, Consumer) ->

+ 1 - 1
src/oauth_consumer.erl

@@ -1,6 +1,6 @@
 -module(oauth_consumer).
 
--compile(export_all).
+-export([key/1, new/3, secret/1, signature_method/1]).
 
 
 new(Key, Secret, SignatureMethod) ->

+ 1 - 5
src/oauth_hmac.erl

@@ -1,10 +1,6 @@
 -module(oauth_hmac).
 
--export([signature/3]).
-
-% for testing:
--export([base_string/3]).
--export([normalize/1]).
+-export([base_string/3, normalize/1, signature/3]).
 
 
 signature({Method, URL, Params}, ConsumerSecret, TokenSecret) ->

+ 1 - 2
src/oauth_http.erl

@@ -1,7 +1,6 @@
 -module(oauth_http).
 
--export([get/1]).
--export([post/2]).
+-export([get/1, post/2]).
 
 
 get(URL) ->

+ 1 - 3
src/oauth_params.erl

@@ -1,8 +1,6 @@
 -module(oauth_params).
 
--export([to_string/1]).
--export([to_header_string/1]).
--export([from_string/1]).
+-export([from_string/1, to_string/1, to_header_string/1]).
 
 -import(lists, [map/2]).
 

+ 1 - 3
src/oauth_request.erl

@@ -1,8 +1,6 @@
 -module(oauth_request).
 
--export([params_string/5]).
--export([url/5]).
--export([header/6]).
+-export([header/6, params_string/5, url/5]).
 
 
 params_string(Method, URL, ExtraParams, Consumer, TokenPair) ->

+ 1 - 2
src/oauth_token_pair.erl

@@ -1,7 +1,6 @@
 -module(oauth_token_pair).
 
--export([new/2]).
--export([new/1]).
+-export([new/1, new/2]).
 
 
 new(Token, TokenSecret) ->